Page MenuHomePhabricator

Create a Constant in Mediawiki for the name of the 'main' slot for MCR
Closed, ResolvedPublic

Description

As discussed in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/450069/15/lib/includes/Store/EntityNamespaceLookup.php

rather than using 'main' everywhere instead we should use a constant, and that constant should be defined in core somewhere.

Event Timeline

Change 462588 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/core@master] Add constant for the name of the 'main' slot for MCR

https://gerrit.wikimedia.org/r/462588

Not sure about the value of this, but it was easy to do, so...

Change 462588 merged by jenkins-bot:
[mediawiki/core@master] Add constant for the name of the 'main' slot for MCR

https://gerrit.wikimedia.org/r/462588