From: Aaron Schulz Date: Sun, 13 Apr 2008 17:46:00 +0000 (+0000) Subject: Bah, renamed these at the last minute X-Git-Tag: 1.31.0-rc.0~48364 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=4180eea0401f204ee620d2ef9193cde7b9cdf50b;p=lhc%2Fweb%2Fwiklou.git Bah, renamed these at the last minute --- 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 );