From 72f6e565349b957cb2d1d3f055bd971c090cc858 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 7 Jul 2007 04:59:21 +0000 Subject: [PATCH] Kill some parameter cruft --- includes/OutputPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index c6724cd360..527b92c028 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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' ) ); -- 2.20.1