*/
private function formatChangeLine( RecentChange $rc, array &$classes, $watched ) {
$html = '';
+ $unpatrolled = $this->showAsUnpatrolled( $rc );
if ( $rc->mAttribs['rc_log_type'] ) {
$logtitle = SpecialPage::getTitleFor( 'Log', $rc->mAttribs['rc_log_type'] );
$this->insertLog( $html, $logtitle, $rc->mAttribs['rc_log_type'] );
+ $flags = $this->recentChangesFlags( array( 'unpatrolled' =>$unpatrolled,
+ 'bot' => $rc->mAttribs['rc_bot'] ), '' );
+ if ( $flags !== '' ) {
+ $html .= ' ' . $flags;
+ }
// Log entries (old format) or log targets, and special pages
} elseif ( $rc->mAttribs['rc_namespace'] == NS_SPECIAL ) {
list( $name, $htmlubpage ) = SpecialPageFactory::resolveAlias( $rc->mAttribs['rc_title'] );
}
// Regular entries
} else {
- $unpatrolled = $this->showAsUnpatrolled( $rc );
$this->insertDiffHist( $html, $rc, $unpatrolled );
# M, N, b and ! (minor, new, bot and unpatrolled)
$html .= $this->recentChangesFlags(
),
''
);
- $this->insertArticleLink( $html, $rc, $unpatrolled, $watched );
+ $html .= $this->getArticleLink( $rc, $unpatrolled, $watched );
}
# Edit/log timestamp
$this->insertTimestamp( $html, $rc );