Page MenuHomePhabricator

Enable GENDER support in MediaWiki:Passwordreset-emailerror-capture
Closed, ResolvedPublic

Description

Please add GENDER support to message [[MediaWiki:Passwordreset-emailerror-capture]]. Current message content is as follows:

A password reset email was generated, which is shown below, but sending it to the user failed: $1

The gender of *the user* is needed, and it is not possible to obtain it with an empty parameter in GENDER because the target user is not actually logged in.


Version: 1.21.x
Severity: normal

Details

Reference
bz46646

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:25 AM
bzimport set Reference to bz46646.
bzimport added a subscriber: Unknown Object (MLST).

specials/SpecialPasswordReset.php
284: $this->getOutput()->addWikiMsg( 'passwordreset-emailerror-capture', $this->result->getMessage() );

Look as easy as adding the username as parameter to the message and tweaking source text.

Related URL: https://gerrit.wikimedia.org/r/58861 (Gerrit Change Ib775597d7d5b5afd84717fc7064a73721bc1a01c)

Related URL: https://gerrit.wikimedia.org/r/58861 (Gerrit Change Ib775597d7d5b5afd84717fc7064a73721bc1a01c)