Follow up for r41672: 'nosuchuser' is used twice
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 20 Oct 2008 13:11:47 +0000 (13:11 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 20 Oct 2008 13:11:47 +0000 (13:11 +0000)
includes/specials/SpecialUserlogin.php

index a7d80df..72c5ba9 100644 (file)
@@ -614,7 +614,7 @@ class LoginForm {
                        return;
                }
                if ( 0 == $u->getID() ) {
-                       $this->mainLoginForm( wfMsg( 'nosuchuser', $u->getName() ) );
+                       $this->mainLoginForm( wfMsgWikiHtml( 'nosuchuser', htmlspecialchars( $u->getName() ) ) );
                        return;
                }