Follow-up to r56684 - fix message parameters for Login::ILLEGAL
authorHappy-melon <happy-melon@users.mediawiki.org>
Mon, 21 Sep 2009 14:19:24 +0000 (14:19 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Mon, 21 Sep 2009 14:19:24 +0000 (14:19 +0000)
includes/specials/SpecialUserlogin.php

index d706a55..a9b57d9 100644 (file)
@@ -460,9 +460,9 @@ class SpecialUserLogin extends SpecialPage {
                                
                        case Login::NOT_EXISTS:
                                if( $wgUser->isAllowed( 'createaccount' ) ){
-                                       $this->mainLoginForm( wfMsgExt( 'nosuchuser', 'parseinline', htmlspecialchars( $this->mName ) ) );
+                                       $this->mainLoginForm( wfMsgExt( 'nosuchuser', 'parseinline', htmlspecialchars( $this->mUsername ) ) );
                                } else {
-                                       $this->mainLoginForm( wfMsgExt( 'nosuchusershort', 'parseinline', htmlspecialchars( $this->mName ) ) );
+                                       $this->mainLoginForm( wfMsgExt( 'nosuchusershort', 'parseinline', htmlspecialchars( $this->mUsername ) ) );
                                }
                                break;