From 4180eea0401f204ee620d2ef9193cde7b9cdf50b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 13 Apr 2008 17:46:00 +0000 Subject: [PATCH] Bah, renamed these at the last minute --- includes/ChangesList.php | 4 ++-- includes/SpecialRecentchanges.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 6bb93d628f..294a6b4e82 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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; diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index b71886429f..e29991c6c3 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -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 ); -- 2.20.1