Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -820,9 +820,9 @@ |
821 | 821 | } |
822 | 822 | |
823 | 823 | public static function injectReviewDiffURLParams( $article, &$extraq ) { |
824 | | - global $wgReviewChangesAfterEdit; |
| 824 | + global $wgReviewChangesAfterEdit, $wgUser; |
825 | 825 | |
826 | | - if( !$wgReviewChangesAfterEdit ) |
| 826 | + if( !$wgReviewChangesAfterEdit || !$wgUser->isAllowed( 'review' ) ) |
827 | 827 | return; |
828 | 828 | |
829 | 829 | $frev = self::getOverridingRev( $article->getTitle() ); |