| Index: trunk/phase3/includes/Article.php |
| — | — | @@ -2140,8 +2140,10 @@ |
| 2141 | 2141 | |
| 2142 | 2142 | # If this is another user's talk page, update newtalk |
| 2143 | 2143 | # Don't do this if $changed = false otherwise some idiot can null-edit a |
| 2144 | | - # load of user talk pages and piss people off |
| 2145 | | - if( $this->mTitle->getNamespace() == NS_USER_TALK && $shortTitle != $wgUser->getTitleKey() && $changed ) { |
| | 2144 | + # load of user talk pages and piss people off, nor if it's a minor edit |
| | 2145 | + # by a properly-flagged bot. |
| | 2146 | + if( $this->mTitle->getNamespace() == NS_USER_TALK && $shortTitle != $wgUser->getTitleKey() && $changed |
| | 2147 | + && !($minoredit && $wgUser->isAllowed('nominornewtalk') ) ) { |
| 2146 | 2148 | if (wfRunHooks('ArticleEditUpdateNewTalk', array(&$this)) ) { |
| 2147 | 2149 | $other = User::newFromName( $shortTitle ); |
| 2148 | 2150 | if( is_null( $other ) && User::isIP( $shortTitle ) ) { |
| Index: trunk/phase3/includes/DefaultSettings.php |
| — | — | @@ -919,6 +919,7 @@ |
| 920 | 920 | // from various log pages by default |
| 921 | 921 | $wgGroupPermissions['bot' ]['bot'] = true; |
| 922 | 922 | $wgGroupPermissions['bot' ]['autoconfirmed'] = true; |
| | 923 | +$wgGroupPermissions['bot' ]['nominornewtalk'] = true; |
| 923 | 924 | |
| 924 | 925 | // Most extra permission abilities go to this group |
| 925 | 926 | $wgGroupPermissions['sysop']['block'] = true; |
| Index: trunk/phase3/RELEASE-NOTES |
| — | — | @@ -97,6 +97,9 @@ |
| 98 | 98 | * Added 'UndeleteShowRevision' hook in Special:Undelete |
| 99 | 99 | * Error message on attempt to view invalid or missing deleted revisions |
| 100 | 100 | * Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex |
| | 101 | +* (bug 3224) Allow minor edits by bots to skip new message notification on |
| | 102 | + user talk pages. This can be disabled by adjusting the 'nominornewtalk' |
| | 103 | + permission. Patch by Werdna. |
| 101 | 104 | |
| 102 | 105 | |
| 103 | 106 | == Languages updated == |