Continuing Ravichandran's work, I fixed issues raised by IAlex.
Change-Id: Ib8bec70bf0aa451d26971569214b4b13c2abddff
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(
'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',
'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]]
'changeemail-oldemail',
'changeemail-newemail',
'changeemail-none',
+ 'changeemail-password',
'changeemail-submit',
'changeemail-cancel',
),