It occurs that there are consistent failing tests on Travis and Appveyor that ends up with KeyError 204, see e.g.:
- Travis: https://travis-ci.org/wikimedia/pywikibot-core/jobs/176926034#L4358-L4473
- Appveyor: https://ci.appveyor.com/project/jayvdb/pywikibot-core-hdpnk/build/1.0.1253/job/y6uuhkuooeyq1wh5#L4612
After some brief investigation it occurs that Tranlatewiki has some issue with namespaces. In their API (see: https://translatewiki.net/w/api.php?action=query&meta=siteinfo&continue=&siprop=namespaces|namespacealiases|general&format=json) that they have namespacealiases for namespace 204 and 205, that don't exist in their namespaces array.
What can we do here? Should we omit namespacealiases that point to nonexisting namespaces? @Xqt @jayvdb @Dalba @Legoktm
Filed upstream as https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1975