Support GENDER in 'passwordreset-emailelement'.
Change-Id: I1b14dbb8d1fb06c688064af4a6a02e03293dc5f0
This commit is contained in:
parent
73ae67c6ed
commit
0f0f784a79
2 changed files with 4 additions and 4 deletions
|
|
@ -238,7 +238,7 @@ class SpecialPasswordReset extends FormSpecialPage {
|
|||
$user->setNewpassword( $password );
|
||||
$user->saveSettings();
|
||||
$passwords[] = $this->msg( 'passwordreset-emailelement', $user->getName(), $password
|
||||
)->inLanguage( $userLanguage )->plain(); // We'll escape the whole thing later
|
||||
)->inLanguage( $userLanguage )->text(); // We'll escape the whole thing later
|
||||
}
|
||||
$passwordBlock = implode( "\n\n", $passwords );
|
||||
|
||||
|
|
|
|||
|
|
@ -863,9 +863,9 @@ Parameters:
|
|||
* $2 - message {{msg-mw|passwordreset-emailelement|notext=1}} repeated $3 times
|
||||
* $3 - the number of repetitions in $2
|
||||
* $4 - base URL of the wiki',
|
||||
'passwordreset-emailelement' => "This is a body of a reminder email to allow them into the system with a new password.
|
||||
$1 will be the user's login name.
|
||||
$2 will be the temporary password given by the system.",
|
||||
'passwordreset-emailelement' => "This is a body of a reminder email to allow them into the system with a new password. Parameters:
|
||||
* $1 will be the user's login name. This parameter can be used for GENDER.
|
||||
* $2 will be the temporary password given by the system.",
|
||||
'passwordreset-emailerror-capture' => 'Error message displayed when sending an e-mail fails. Parameters:
|
||||
* $1 is the name of a user who was supposed to get the e-mail.',
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue