HomePhabricator

registration: Fix namespaces added through the ExtensionProcessor

Authored by Legoktm.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

registration: Fix namespaces added through the ExtensionProcessor

Using $wgExtraNamespaces overrides any localized namespaces with the
canonical form, which is not ideal.

Namespaces added through extension.json will now store the canonical
form and numerical id in a 'ExtensionNamespaces' attribute that is read
by MWNamespace::getCanonicalNamespaces().

Also fix the documentation on $wgExtraNamespaces, as using
$wgCanonicalNamespaceNames has not been possible since r85327.

Bug: T110389
Change-Id: I5bd9a7258f59d8c4a7ad0543d2115960fbea9b3a
(cherry picked from commit 9df0672255afd255ce0af34f18b8ad596f3c3e35)

Details

Committed
LegoktmAug 27 2015, 6:10 PM
ChangeId
I5bd9a7258f59d8c4a7ad0543d2115960fbea9b3a

Commit No Longer Exists

This commit no longer exists in the repository.