Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNamespaces.
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 20 Aug 2010 10:25:10 +0000 (10:25 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 20 Aug 2010 10:25:10 +0000 (10:25 +0000)
commitb7824e03cf35591d2c934bd9c07a20baa8d2f5a8
tree6c02533599ac2b75cd16af8c9a943cc7877bac36
parentaf41a1c9f5e90a768fb2053a1e1c52ef1679afc9
Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNamespaces.

Now those two together define the set of namespaces used in the wiki.
$wgExtraNamespaces is for user configuration and overrides, while
$wgCanonicalNamespaceNames is for extension adding their own namespaces.
No code should access those two directly for reading. Instead they should use
MWNamespace::getCanonicalNamespaces.

Also fixed indentation with spaces to tabs in Language.php
includes/DefaultSettings.php
includes/Namespace.php
languages/Language.php