Merge "Avoid repeat of class name when appending in Linker"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 1 Dec 2013 14:13:12 +0000 (14:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 1 Dec 2013 14:13:12 +0000 (14:13 +0000)
includes/resourceloader/ResourceLoaderStartUpModule.php

index b38f448..93c5d1b 100644 (file)
@@ -84,6 +84,7 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule {
                        'wgMainPageTitle' => $mainPage->getPrefixedText(),
                        'wgFormattedNamespaces' => $wgContLang->getFormattedNamespaces(),
                        'wgNamespaceIds' => $namespaceIds,
+                       'wgContentNamespaces' => MWNamespace::getContentNamespaces(),
                        'wgSiteName' => $wgSitename,
                        'wgFileExtensions' => array_values( array_unique( $wgFileExtensions ) ),
                        'wgDBname' => $wgDBname,