From: Raimond Spekking Date: Sun, 29 May 2011 13:22:13 +0000 (+0000) Subject: Fix message key for account creation by e-mail. X-Git-Tag: 1.31.0-rc.0~29869 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=446c7e25b8df88caef187c1259da2230cb10fa62;p=lhc%2Fweb%2Fwiklou.git Fix message key for account creation by e-mail. '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 --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index c89bf7a87f..a37158b7c2 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -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; }