wfMsgReal() -> wfMsgExt()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 20 Feb 2011 16:36:13 +0000 (16:36 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 20 Feb 2011 16:36:13 +0000 (16:36 +0000)
includes/specials/SpecialBlockip.php

index 438bc35..1148d30 100644 (file)
@@ -131,7 +131,7 @@ class IPBlockForm extends SpecialPage {
                $otherBlockedMsgs = array();
                if( $err && $err[0] != 'ipb_already_blocked' ) {
                        $key = array_shift( $err );
-                       $msg = wfMsgReal( $key, $err );
+                       $msg = wfMsgExt( $key, 'parsemag', $err );
                        $wgOut->setSubtitle( wfMsgHtml( 'formerror' ) );
                        $wgOut->addHTML( Xml::tags( 'p', array( 'class' => 'error' ), $msg ) );
                } elseif( $this->BlockAddress !== null ) {