r100635 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100634‎ | r100635 | r100636 >
Date:19:05, 24 October 2011
Author:reedy
Status:ok
Tags:
Comment:
1.18wmf1: Half manually merge r100327
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/FlaggedRevs (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/FlaggedRevs/FlaggedRevs.php
@@ -172,11 +172,13 @@
173173
174174 # Special:Userrights settings
175175 # # Basic rights for Sysops
176 -$wgAddGroups['sysop'][] = 'editor';
177 -$wgRemoveGroups['sysop'][] = 'editor';
178 -# # Extra ones for Bureaucrats (@TODO: remove this)
179 -$wgAddGroups['bureaucrat'][] = 'reviewer';
180 -$wgRemoveGroups['bureaucrat'][] = 'reviewer';
 176+$wgAddGroups['sysop'][] = 'editor'; // promote to basic reviewer (established editors)
 177+$wgRemoveGroups['sysop'][] = 'editor'; // demote from basic reviewer (established editors)
 178+$wgAddGroups['sysop'][] = 'autoreview'; // promote to basic auto-reviewer (semi-trusted users)
 179+$wgRemoveGroups['sysop'][] = 'autoreview'; // demote from basic auto-reviewer (semi-trusted users)
 180+# # Extra ones for Bureaucrats
 181+$wgAddGroups['bureaucrat'][] = 'reviewer'; // promote to full reviewers
 182+$wgRemoveGroups['bureaucrat'][] = 'reviewer'; // demote from full reviewers
181183
182184 # How far the logs for overseeing quality revisions and depreciations go
183185 $wgFlaggedRevsOversightAge = 30 * 24 * 3600;
@@ -222,11 +224,10 @@
223225 # array so that it shows up in sp:ListGroupRights...
224226 $wgGroupPermissions['bot']['autoreview'] = true;
225227
226 -# Lets some users access the review UI and set some flags
227 -$wgAvailableRights[] = 'review'; # review pages to basic levels
228 -$wgAvailableRights[] = 'validate'; # review pages to all levels
229 -$wgAvailableRights[] = 'autoreview'; # auto-review pages on edit (including rollback)
230 -$wgAvailableRights[] = 'autoreviewrestore'; # auto-review on rollback
 228+$wgAvailableRights[] = 'review'; # review pages to basic quality levels
 229+$wgAvailableRights[] = 'validate'; # review pages to all quality levels
 230+$wgAvailableRights[] = 'autoreview'; # auto-review one's own edits (including rollback)
 231+$wgAvailableRights[] = 'autoreviewrestore'; # auto-review one's own rollbacks
231232 $wgAvailableRights[] = 'unreviewedpages'; # view the list of unreviewed pages
232233 $wgAvailableRights[] = 'movestable'; # move pages with stable versions
233234 $wgAvailableRights[] = 'stablesettings'; # change page stability settings
Property changes on: branches/wmf/1.18wmf1/extensions/FlaggedRevs
___________________________________________________________________
Modified: svn:mergeinfo
234235 Merged /trunk/extensions/FlaggedRevs:r100327

Follow-up revisions

RevisionCommit summaryAuthorDate
r100668LQT MFT r92706...reedy00:14, 25 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100327* (bug 31441) Allow sysops to add/remove user group "autoreview" (as they can...aaron05:12, 20 October 2011

Status & tagging log