r67973 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67972‎ | r67973 | r67974 >
Date:01:36, 14 June 2010
Author:aaron
Status:deferred
Tags:
Comment:
MFT r67971
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/FlaggedRevs_alpha/FlaggedRevs.hooks.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/FlaggedRevs_alpha/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/extensions/FlaggedRevs_alpha/FlaggedRevs.php
@@ -179,10 +179,6 @@
180180 # Sysops can always move stable pages
181181 $wgGroupPermissions['sysop']['movestable'] = true;
182182
183 -# Try to avoid flood by having autoconfirmed user edits to non-reviewable
184 -# namespaces autopatrolled.
185 -$wgGroupPermissions['autoconfirmed']['autopatrol'] = true;
186 -
187183 # Define when users get automatically promoted to Editors. Set as false to disable.
188184 # 'spacing' and 'benchmarks' require edits to be spread out. Users must have X (benchmark)
189185 # edits Y (spacing) days apart.
Index: branches/wmf/1.16wmf4/extensions/FlaggedRevs_alpha/FlaggedRevs.hooks.php
@@ -1109,7 +1109,11 @@
11101110 }
11111111
11121112 /**
1113 - * When an edit is made to a page that can't be reviewed, autopatrol if allowed.
 1113+ * When an edit is made to a page:
 1114+ * (a) If the page is reviewable, silently mark the edit patrolled if it was auto-reviewed
 1115+ * (b) If the page can be patrolled, auto-patrol the edit patrolled as normal
 1116+ * (c) If the page is new and $wgUseNPPatrol is on, auto-patrol the edit patrolled as normal
 1117+ * (d) If the edit is neither reviewable nor patrolleable, silently mark it patrolled
11141118 */
11151119 public static function autoMarkPatrolled( RecentChange &$rc ) {
11161120 global $wgUser;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r67971* Follow-up r67967: same for 'autoconfirmed'...aaron01:26, 14 June 2010

Status & tagging log