Fix message key for account creation by e-mail.
authorRaimond Spekking <raymond@users.mediawiki.org>
Sun, 29 May 2011 13:22:13 +0000 (13:22 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Sun, 29 May 2011 13:22:13 +0000 (13:22 +0000)
'noemail' => 'There is no e-mail address recorded for user "$1".' is misleading/wrong.
The long existing message 'noemailcreate' => 'You need to provide a valid e-mail address' is unused. No idea what happened in the past.
Needs merging to 1.17, 1.18

includes/specials/SpecialUserlogin.php

index c89bf7a..a37158b 100644 (file)
@@ -158,7 +158,7 @@ class LoginForm extends SpecialPage {
                global $wgOut;
 
                if ( $this->mEmail == '' ) {
-                       $this->mainLoginForm( wfMsgExt( 'noemail', array( 'parsemag', 'escape' ), $this->mUsername ) );
+                       $this->mainLoginForm( wfMsgExt( 'noemailcreate', array( 'parsemag', 'escape' ), $this->mUsername ) );
                        return;
                }