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() ) );
76 $title = Title::makeTitle( $this->row->log_namespace, $this->row->log_title );
78 $formatter->setContext( $this->list->getContext() );
82 $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
83 SpecialPage::getTitleFor(
'Log' ),
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 );
111 return Xml::tags(
'li', $attribs,
$content );
static userCan( $row, $field, User $user=null)
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.