Index: trunk/phase3/includes/SpecialPreferences.php |
— | — | @@ -306,7 +306,7 @@ |
307 | 307 | if( $wgEnableEmail ) { |
308 | 308 | $newadr = $this->mUserEmail; |
309 | 309 | $oldadr = $wgUser->getEmail(); |
310 | | - if( ($newadr != '') && ($newadr != $oldadr) ) { |
| 310 | + if( ($newadr != '') && (strtolower($newadr) != strtolower($oldadr)) ) { |
311 | 311 | # the user has supplied a new email address on the login page |
312 | 312 | if( $wgUser->isValidEmailAddr( $newadr ) ) { |
313 | 313 | $wgUser->mEmail = $newadr; # new behaviour: set this new emailaddr from login-page into user database record |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -248,6 +248,8 @@ |
249 | 249 | user-customized ones (like Common.css, Common.js) |
250 | 250 | * (bug 12283) Special:Newpages forgets parameters |
251 | 251 | * (bug 12031) All namespaces doesn't work in Special:Newpages |
| 252 | +* Email addresses are now not considered case-sensitive in detecting if |
| 253 | + a user has changed their email address. |
252 | 254 | |
253 | 255 | == Parser changes in 1.12 == |
254 | 256 | |