Kill some parameter cruft
authorRob Church <robchurch@users.mediawiki.org>
Sat, 7 Jul 2007 04:59:21 +0000 (04:59 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sat, 7 Jul 2007 04:59:21 +0000 (04:59 +0000)
includes/OutputPage.php

index c6724cd..527b92c 100644 (file)
@@ -982,8 +982,7 @@ class OutputPage {
                                $ns = $wgTitle->getNamespace() == NS_MAIN
                                        ? wfMsg( 'nstab-main' )
                                        : $wgTitle->getNsText();
-                               $this->addWikiText( wfMsg( 'namespaceprotected', $ns,
-                                       implode( ', ', $wgNamespaceProtection[ $wgTitle->getNamespace() ] ) ) );
+                               $this->addWikiText( wfMsg( 'namespaceprotected', $ns ) );
                        } else {
                                // Standard protection
                                $this->addWikiText( wfMsg( 'protectedpagetext' ) );