37 return 'log_timestamp';
45 return 'log_user_text';
54 $this->row, RevisionRecord::SUPPRESSED_ALL, $this->list->getUser()
66 return $this->row->ts_tags;
74 $date = htmlspecialchars( $this->list->getLanguage()->userTimeAndDate(
75 $this->row->log_timestamp, $this->list->getUser() ) );
78 $formatter->setContext( $this->list->getContext() );
82 $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
84 $this->list->msg(
'log' )->text(),
86 [
'page' =>
$title->getPrefixedText() ]
88 $loglink = $this->list->msg(
'parentheses' )->rawParams( $loglink )->escaped();
90 $action = $formatter->getActionText();
92 $comment = $this->list->getLanguage()->getDirMark() .
93 $formatter->getComment();
96 $comment =
'<span class="history-deleted">' . $comment .
'</span>';
99 $content =
"$loglink $date $action $comment";
106 $this->list->getContext()
109 $attribs[
'class'] = implode(
' ', $classes );
static userCan( $row, $field, Authority $performer)
Determine if the current user is allowed to view a particular field of this log row,...
static isDeleted( $row, $field)
Abstract base class for revision items.
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...
static makeTitle( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
static tags( $element, $attribs, $contents)
Same as Xml::element(), but does not escape contents.