public function insertLog( &$s, $title, $logtype ) {
$page = new LogPage( $logtype );
$logname = $page->getName()->setContext( $this->getContext() )->text();
- $s .= $this->msg( 'parentheses' )->rawParams(
- $this->linkRenderer->makeKnownLink( $title, $logname )
- )->escaped();
+ $s .= Html::rawElement( 'span', [
+ 'class' => 'mw-changeslist-links'
+ ], $this->linkRenderer->makeKnownLink( $title, $logname ) );
}
/**
$formatter->setShowUserToolLinks( true );
$mark = $this->getLanguage()->getDirMark();
- return $formatter->getActionText() . " $mark" . $formatter->getComment();
+ return Html::openElement( 'span', [ 'class' => 'mw-changeslist-log-entry' ] )
+ . $formatter->getActionText() . " $mark" . $formatter->getComment()
+ . Html::closeElement( 'span' );
}
/**