Page MenuHomePhabricator

Move $wgCanonicalNamespaceNames to DefaultSettings.php
Closed, InvalidPublic

Description

Author: zach+bugs

Description:
The array of namespace names sits in Namespace.php, where it cannot be overridden in LocalSettings.php. Can this be moved to DefaultSettings.php, so I can rename namespaces on my wiki without using aliases?


Version: 1.12.x
Severity: enhancement

Details

Reference
bz12897

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:05 PM
bzimport set Reference to bz12897.
bzimport added a subscriber: Unknown Object (MLST).

Renaming *canonical* namespace names would break things relying on those canonical names, so I'd rather recommend against it. Instead set the names in the custom namespaces array; these will override the canonical forms as the default.