Add NS_USER to MWNamespace::$alwaysCapitalizedNamespaces, as suggested by Happy-melon...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 15 Dec 2009 04:20:17 +0000 (04:20 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 15 Dec 2009 04:20:17 +0000 (04:20 +0000)
includes/Namespace.php

index 4efc7a8..e824b8d 100644 (file)
@@ -50,7 +50,7 @@ class MWNamespace {
         * forevermore. Historically, they could've probably been lowercased too, 
         * but some things are just too ingrained now. :)
         */
-       private static $alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_MEDIAWIKI );
+       private static $alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_USER, NS_MEDIAWIKI );
 
        /**
         * Can pages in the given namespace be moved?