(Bug 35987) Clarify change password on Special:ChangeEmail
authorPranav Ravichandran <prp.1111@gmail.com>
Fri, 27 Apr 2012 04:16:00 +0000 (04:16 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 16 Dec 2012 07:07:29 +0000 (07:07 +0000)
Continuing Ravichandran's work, I fixed issues raised by IAlex.

Change-Id: Ib8bec70bf0aa451d26971569214b4b13c2abddff

includes/specials/SpecialChangeEmail.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

index 99d2ebf..eae8e3a 100644 (file)
@@ -154,7 +154,7 @@ class SpecialChangeEmail extends UnlistedSpecialPage {
                        array( 'wpNewEmail', 'changeemail-newemail', 'email', $this->mNewEmail ),
                );
                if ( $wgRequirePasswordforEmailChange ) {
-                       $items[] = array( 'wpPassword', 'yourpassword', 'password', $this->mPassword );
+                       $items[] = array( 'wpPassword', 'changeemail-password', 'password', $this->mPassword );
                }
 
                $this->getOutput()->addHTML(
index aa582f6..affeb8f 100644 (file)
@@ -1261,6 +1261,7 @@ Temporary password: $2',
 'changeemail-oldemail' => 'Current e-mail address:',
 'changeemail-newemail' => 'New e-mail address:',
 'changeemail-none'     => '(none)',
+'changeemail-password' => 'Your {{SITENAME}} password:',
 'changeemail-submit'   => 'Change e-mail',
 'changeemail-cancel'   => 'Cancel',
 
index 3f54d9e..456343d 100644 (file)
@@ -921,6 +921,7 @@ Parameters:
 'changeemail-none' => "Probably appears in 'Current E-mail address' field when no address held, in [[Special:ChangeEmail]].
 
 {{Identical|None}}",
+'changeemail-password' => 'Label for password field in [[Special:ChangeEmail]].',
 'changeemail-submit' => 'Submit button on [[Special:ChangeEmail]]',
 'changeemail-cancel' => 'Cancel button on [[Special:ChangeEmail]]
 
index b4b9365..87625b0 100644 (file)
@@ -559,6 +559,7 @@ $wgMessageStructure = array(
                'changeemail-oldemail',
                'changeemail-newemail',
                'changeemail-none',
+               'changeemail-password',
                'changeemail-submit',
                'changeemail-cancel',
        ),