Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=528 . New shorter "nosuchuser"...
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 22 Sep 2004 00:42:09 +0000 (00:42 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 22 Sep 2004 00:42:09 +0000 (00:42 +0000)
includes/SpecialBlockip.php
languages/Language.php

index 69d41d2..34fde40 100644 (file)
@@ -126,7 +126,7 @@ class IPBlockForm {
                                if ( $wgSysopUserBans ) {       
                                        $userId = User::idFromName( $this->BlockAddress );
                                        if ( $userId == 0 ) {
-                                               $this->showForm( wfMsg( 'nosuchuser', htmlspecialchars( $this->BlockAddress ) ) );
+                                               $this->showForm( wfMsg( 'nosuchusershort', htmlspecialchars( $this->BlockAddress ) ) );
                                                return;
                                        }
                                } else {
index 85cfa0f..f5a7107 100644 (file)
@@ -544,6 +544,7 @@ email address to them, and it can be used to send you a new password if you forg
 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
 'nosuchuser'   => "There is no user by the name \"$1\".
 Check your spelling, or use the form below to create a new user account.",
+'nosuchusershort'      => "There is no user by the name \"$1\". Check your spelling.",
 'wrongpassword'        => 'The password you entered is incorrect. Please try again.',
 'mailmypassword' => 'Mail me a new password',
 'passwordremindertitle' => "Password reminder from {{SITENAME}}",