The password reset e-mail should have the subject line localized into
the same language as the body, which is the preferred UI language
set by the user, not the content language of the wiki.
Bug: T113227
Change-Id: I3bb1e1035004a329b934afb2fbfbd407685c6e8c
round( $this->getConfig()->get( 'NewPasswordExpiry' ) / 86400 )
);
- $title = $this->msg( 'passwordreset-emailtitle' );
+ $title = $this->msg( 'passwordreset-emailtitle' )->inLanguage( $userLanguage );
$this->result = $firstUser->sendMail( $title->text(), $this->email->text() );