Bah, renamed these at the last minute
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:46:00 +0000 (17:46 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:46:00 +0000 (17:46 +0000)
includes/ChangesList.php
includes/SpecialRecentchanges.php

index 6bb93d6..294a6b4 100644 (file)
@@ -308,7 +308,7 @@ class OldChangesList extends ChangesList {
                extract( $rc->mAttribs );
 
                # Should patrol-related stuff be shown?
-               $unpatrolled = $wgUser->usePatrol() && $rc_patrolled == 0;
+               $unpatrolled = $wgUser->useRCPatrol() && $rc_patrolled == 0;
 
                $this->insertDateHeader($s,$rc_timestamp);
 
@@ -403,7 +403,7 @@ class EnhancedChangesList extends ChangesList {
                }
 
                # Should patrol-related stuff be shown?
-               if( $wgUser->usePatrol() ) {
+               if( $wgUser->useRCPatrol() ) {
                        $rc->unpatrolled = !$rc_patrolled;
                } else {
                        $rc->unpatrolled = false;
index b718864..e29991c 100644 (file)
@@ -147,7 +147,7 @@ function wfSpecialRecentchanges( $par, $specialPage ) {
        $hidem  = $hideminor ? 'AND rc_minor = 0' : '';
        $hidem .= $hidebots ? ' AND rc_bot = 0' : '';
        $hidem .= $hideliu && !$forcebot ? ' AND rc_user = 0' : '';
-       $hidem .= ($wgUser->usePatrol() && $hidepatrolled ) ? ' AND rc_patrolled = 0' : '';
+       $hidem .= ($wgUser->useRCPatrol() && $hidepatrolled ) ? ' AND rc_patrolled = 0' : '';
        $hidem .= $hideanons && !$forcebot ? ' AND rc_user != 0' : '';
        $hidem .= $forcebot ? ' AND rc_bot = 1' : '';
 
@@ -571,7 +571,7 @@ function rcOptionsPanel( $defaults, $nondefaults ) {
        $links[] = wfMsgHtml( 'rcshowhidebots', $botLink );
        $links[] = wfMsgHtml( 'rcshowhideanons', $anonsLink );
        $links[] = wfMsgHtml( 'rcshowhideliu', $liuLink );
-       if( $wgUser->usePatrol() )
+       if( $wgUser->useRCPatrol() )
                $links[] = wfMsgHtml( 'rcshowhidepatr', $patrLink );
        $links[] = wfMsgHtml( 'rcshowhidemine', $myselfLink );
        $hl = implode( ' | ', $links );