From 446c7e25b8df88caef187c1259da2230cb10fa62 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Sun, 29 May 2011 13:22:13 +0000 Subject: [PATCH] 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 --- includes/specials/SpecialUserlogin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1