Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -727,10 +727,10 @@ |
728 | 728 | $np = $u->randomPassword(); |
729 | 729 | $u->setNewpassword( $np, $throttle ); |
730 | 730 | $u->saveSettings(); |
731 | | - |
732 | | - $m = wfMsgExt( $emailText, array( 'parsemag' ), $ip, $u->getName(), $np, |
| 731 | + $userLanguage = $u->getOption( 'language' ); |
| 732 | + $m = wfMsgExt( $emailText, array( 'parsemag', 'language' => $userLanguage ), $ip, $u->getName(), $np, |
733 | 733 | $wgServer . $wgScript, round( $wgNewPasswordExpiry / 86400 ) ); |
734 | | - $result = $u->sendMail( wfMsg( $emailTitle ), $m ); |
| 734 | + $result = $u->sendMail( wfMsgExt( $emailTitle, array( 'parsemag', 'language' => $userLanguage ) ), $m ); |
735 | 735 | |
736 | 736 | return $result; |
737 | 737 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -295,6 +295,7 @@ |
296 | 296 | equivalents. |
297 | 297 | * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now |
298 | 298 | stops normal output |
| 299 | +* Send new password e-mail in users preference language |
299 | 300 | |
300 | 301 | === Bug fixes in 1.16 === |
301 | 302 | |