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);
}
# Should patrol-related stuff be shown?
- if( $wgUser->usePatrol() ) {
+ if( $wgUser->useRCPatrol() ) {
$rc->unpatrolled = !$rc_patrolled;
} else {
$rc->unpatrolled = false;
$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' : '';
$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 );