r25463 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25462‎ | r25463 | r25464 >
Date:00:38, 4 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Allow for some non-patrollers to see which edits were patrolled
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -205,7 +205,7 @@
206206 */
207207 function usePatrol() {
208208 global $wgUseRCPatrol, $wgUser;
209 - return( $wgUseRCPatrol && $wgUser->isAllowed( 'patrol' ) );
 209+ return( $wgUseRCPatrol && ($wgUser->isAllowed('patrol') || $wgUser->isAllowed('patrolmarks')) );
210210 }
211211
212212 /**
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -134,6 +134,7 @@
135135 $wgGroupPermissions['editor']['review'] = true;
136136 $wgGroupPermissions['editor']['unwatchedpages'] = true;
137137 $wgGroupPermissions['editor']['autoconfirmed'] = true;
 138+$wgGroupPermissions['editor']['patrolmarks'] = true;
138139
139140 # Defines extra rights for advanced reviewer class
140141 $wgGroupPermissions['reviewer']['validate'] = true;

Follow-up revisions

RevisionCommit summaryAuthorDate
r25530Merged revisions 25454-25529 via svnmerge from...david08:28, 5 September 2007

Status & tagging log