NS_MAIN is missing from NamespaceInfo::$canonicalNames which means that NamespaceInfo::getCommonNamespaces() does not return the correct result.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Add NS_MAIN to NamespaceInfo::$canonicalNames | Dbarratt | mediawiki/core | master | +1 -0 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 534477 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/core@master] Add NS_MAIN to NamespaceInfo::$canonicalNames
Comment Actions
Change 534477 merged by jenkins-bot:
[mediawiki/core@master] Add NS_MAIN to NamespaceInfo::$canonicalNames
Comment Actions
Checking out the WIP patches from T200938, after this change blocks including the Main namespace are displayed in Special:CentralAuth as a separate bullet point (Main).
Before, it included Main as one of the ...and #n local namespaces.
This change potentially affects the SemanticMediaWiki and ManageWiki extensions. I have raised bugs with the respective developers https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4290 and https://phabricator.miraheze.org/T4710.