https://bugzilla.wikimedia.org/show_bug.cgi?id=69118
Bug ID: 69118 Summary: Link() and Site.sametitle fail when namespace case is different from site case Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
As can be seen at the following, the 'site' has a case in the general chunk, and each namespace can have another case. e.g. User & MediaWiki & Special are not case-sensitive, whereas the other namespaces are.
https://en.wiktionary.org/w/api.php?action=query&meta=siteinfo&sipro...
pywikibot (core and compat) only fetch and use the case rule from the general site data, not for each namespace.