Fix an issue with MediaWiki API endpoint discovery
Fix an issue with MediaWiki API endpoint discovery

mediawiki can use several different JSON decoders and does not itself
catch the error, so we need to actually catch the generic ValueError
as we don't know the underlying implementation....

DesertBot/DesertBot