Page MenuHomePhabricator

NamespaceInfo::$canonicalNames is missing NS_MAIN
Closed, ResolvedPublic


NS_MAIN is missing from NamespaceInfo::$canonicalNames which means that NamespaceInfo::getCommonNamespaces() does not return the correct result.

Event Timeline

Change 534477 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/core@master] Add NS_MAIN to NamespaceInfo::$canonicalNames

Change 534477 merged by jenkins-bot:
[mediawiki/core@master] Add NS_MAIN to NamespaceInfo::$canonicalNames

dom_walden added a subscriber: dom_walden.

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 and