Bah, renamed these at the last minute
This commit is contained in:
parent
7dbb373ef2
commit
4180eea040
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue