* (bug 2015) Add "\sim" to ~ conversion for HTML rendering
* (bug 6029) Improvement to German localisation (de)
* (bug 5015) Update be: magic words
+* (bug 3974) Add parameter for site URL to "passwordremindertext"
== Compatibility ==
*/
function mailPasswordInternal( $u ) {
global $wgCookiePath, $wgCookieDomain, $wgCookiePrefix, $wgCookieSecure;
+ global $wgServer, $wgScript;
if ( '' == $u->getEmail() ) {
return wfMsg( 'noemail', $u->getName() );
$ip = wfGetIP();
if ( '' == $ip ) { $ip = '(Unknown)'; }
- $m = wfMsg( 'passwordremindertext', $ip, $u->getName(), $np );
+ $m = wfMsg( 'passwordremindertext', $ip, $u->getName(), $np, $wgServer . $wgScript );
$result = $u->sendMail( wfMsg( 'passwordremindertitle' ), $m );
return $result;
'mailmypassword' => 'E-mail password',
'passwordremindertitle' => 'Password reminder from {{SITENAME}}',
'passwordremindertext' => 'Someone (probably you, from IP address $1)
-requested that we send you a new {{SITENAME}} login password for {{SERVERNAME}}.
+requested that we send you a new password for {{SITENAME}} ($4).
The password for user "$2" is now "$3".
You should log in and change your password now.