Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -180,9 +180,9 @@ |
181 | 181 | $wgGroupPermissions['reviewer']['validate'] = true; |
182 | 182 | # Let this stand alone just in case... |
183 | 183 | $wgGroupPermissions['reviewer']['review'] = true; |
184 | | -$wgGroupPermissions['reviewer']['patrol'] = true; |
185 | 184 | |
186 | 185 | $wgGroupPermissions['bot']['autoreview'] = true; |
| 186 | +$wgGroupPermissions['bot']['autopatrolother'] = true; |
187 | 187 | |
188 | 188 | # Stable version selection and default page revision selection can be set per page. |
189 | 189 | $wgGroupPermissions['sysop']['stablesettings'] = true; |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -734,7 +734,8 @@ |
735 | 735 | $patrol = $record = false; |
736 | 736 | // Is the page reviewable? |
737 | 737 | if( FlaggedRevs::isPageReviewable( $rc->getTitle() ) ) { |
738 | | - $patrol = FlaggedRevs::revIsFlagged( $rc->getTitle(), $rc->mAttribs['rc_this_oldid'], GAID_FOR_UPDATE ); |
| 738 | + $patrol = FlaggedRevs::revIsFlagged( $rc->getTitle(), $rc->mAttribs['rc_this_oldid'], |
| 739 | + GAID_FOR_UPDATE ); |
739 | 740 | // Can this be patrolled? |
740 | 741 | } else if( FlaggedRevs::isPagePatrollable( $rc->getTitle() ) ) { |
741 | 742 | $patrol = $wgUser->isAllowed('autopatrolother'); |