Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -231,6 +231,8 @@ |
232 | 232 | * (bug 33819) Display file sizes in appropriate units. |
233 | 233 | * (bug 32948) {{REVISIONID}} and related variables are no longer blank after doing |
234 | 234 | a null edit. |
| 235 | +* (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who made |
| 236 | + the edit. |
235 | 237 | |
236 | 238 | === API changes in 1.19 === |
237 | 239 | * Made action=edit less likely to return "unknownerror", by returning the actual error |
Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -512,6 +512,10 @@ |
513 | 513 | |
514 | 514 | global $wgUsersNotifiedOnAllChanges; |
515 | 515 | foreach ( $wgUsersNotifiedOnAllChanges as $name ) { |
| 516 | + if ( $editor->getName() == $name ) { |
| 517 | + // No point notifying the user that actually made the change! |
| 518 | + continue; |
| 519 | + } |
516 | 520 | $user = User::newFromName( $name ); |
517 | 521 | $this->compose( $user ); |
518 | 522 | } |