* Message 'cascadeprotected' has for a longer time parameter $2 for a list of titles...
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 15 Oct 2007 08:57:59 +0000 (08:57 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 15 Oct 2007 08:57:59 +0000 (08:57 +0000)
includes/OutputPage.php

index deb126b..adbdc31 100644 (file)
@@ -1031,7 +1031,7 @@ class OutputPage {
                                        $titles = '';
                                        foreach( $cascadeSources as $title )
                                                $titles .= "* [[:" . $title->getPrefixedText()  . "]]\n";
-                                       $this->addWikiText( wfMsgExt( 'cascadeprotected', 'parsemag', $count ) . "\n{$titles}" );
+                                       $this->addWikiText( wfMsgExt( 'cascadeprotected', 'parsemag', $count, "\n{$titles}" ) );
                        } elseif( !$wgTitle->isProtected( 'edit' ) && $wgTitle->isNamespaceProtected() ) {
                                // Namespace protection
                                $ns = $wgTitle->getNamespace() == NS_MAIN