row->ts_tags;
}
/**
* @return string A HTML
element representing this revision, showing
* change tags and everything
*/
public function getHTML() {
$difflink = $this->list->msg( 'parentheses' )
->rawParams( $this->getDiffLink() )->escaped();
$revlink = $this->getRevisionLink();
$userlink = Linker::revUserLink( $this->getRevisionRecord() );
$comment = Linker::revComment( $this->getRevisionRecord() );
if ( $this->isDeleted() ) {
$revlink = "$revlink";
}
$content = "$difflink $revlink $userlink $comment";
$attribs = [];
$tags = $this->getTags();
if ( $tags ) {
list( $tagSummary, $classes ) = ChangeTags::formatSummaryRow(
$tags,
'edittags',
$this->list->getContext()
);
$content .= " $tagSummary";
$attribs['class'] = implode( ' ', $classes );
}
return Xml::tags( 'li', $attribs, $content );
}
}