Index: includes/specials/SpecialUserlogin.php =================================================================== --- includes/specials/SpecialUserlogin.php (revision 82697) +++ includes/specials/SpecialUserlogin.php (working copy) @@ -833,8 +833,12 @@ $u->setNewpassword( $np, $throttle ); $u->saveSettings(); $userLanguage = $u->getOption( 'language' ); + + # Generates mail content, URL followed by an hardcoded space to + # helps mail user agents parsing the URL followed by a parenthese + # (bug 27668). $m = wfMsgExt( $emailText, array( 'parsemag', 'language' => $userLanguage ), $ip, $u->getName(), $np, - $wgServer . $wgScript, round( $wgNewPasswordExpiry / 86400 ) ); + $wgServer . $wgScript . ' ', round( $wgNewPasswordExpiry / 86400 ) ); $result = $u->sendMail( wfMsgExt( $emailTitle, array( 'parsemag', 'language' => $userLanguage ) ), $m ); return $result;