*Allow for some non-patrollers to see which edits were patrolled
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 4 Sep 2007 00:38:54 +0000 (00:38 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 4 Sep 2007 00:38:54 +0000 (00:38 +0000)
includes/ChangesList.php

index bf41ae0..8d0f950 100644 (file)
@@ -205,7 +205,7 @@ class ChangesList {
         */
        function usePatrol() {
                global $wgUseRCPatrol, $wgUser;
-               return( $wgUseRCPatrol && $wgUser->isAllowed( 'patrol' ) );
+               return( $wgUseRCPatrol && ($wgUser->isAllowed('patrol') || $wgUser->isAllowed('patrolmarks')) );
        }
 
        /**