/**
* Item class for a live revision table row with its associated change tags.
- * @since 1.26
+ * @since 1.25
*/
class ChangeTagsRevisionItem extends RevisionItem {
/**
}
$content = "$difflink $revlink $userlink $comment";
- $attribs = array();
+ $attribs = [];
$tags = $this->getTags();
if ( $tags ) {
- list( $tagSummary, $classes ) = ChangeTags::formatSummaryRow( $tags, 'edittags' );
+ list( $tagSummary, $classes ) = ChangeTags::formatSummaryRow(
+ $tags,
+ 'edittags',
+ $this->list->getContext()
+ );
$content .= " $tagSummary";
$attribs['class'] = implode( ' ', $classes );
}