https://bugzilla.wikimedia.org/show_bug.cgi?id=23842

           Summary: $wgNamespaceAliases cannot alias NS_MAIN
           Product: MediaWiki
           Version: 1.15.4
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to