Page MenuHomePhabricator

$wgNamespaceAliases cannot alias NS_MAIN
Closed, ResolvedPublic

Description

It appears to be impossible to alias the main namespace. Try this:

$wgNamespaceAliases = array(
'Foo' => NS_MAIN,
'Foo_talk' => NS_TALK,
);

The alias "Foo_talk" works, but "Foo" is not recognized as a namespace in links, URLs, or search.


Version: 1.15.x
Severity: normal
OS: Linux

Details

Reference
bz23842

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:10 PM
bzimport set Reference to bz23842.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 22940 ***