38 return 'log_timestamp';
46 return 'log_user_text';
67 return $this->row->ts_tags;
75 $date = htmlspecialchars( $this->list->getLanguage()->userTimeAndDate(
76 $this->row->log_timestamp, $this->list->getUser() ) );
77 $title = Title::makeTitle( $this->row->log_namespace, $this->row->log_title );
79 $formatter->setContext( $this->list->getContext() );
83 $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
84 SpecialPage::getTitleFor(
'Log' ),
85 $this->list->msg(
'log' )->text(),
87 [
'page' => $title->getPrefixedText() ]
89 $loglink = $this->list->msg(
'parentheses' )->rawParams( $loglink )->escaped();
91 $action = $formatter->getActionText();
93 $comment = $this->list->getLanguage()->getDirMark() .
94 $formatter->getComment();
96 $content =
"$loglink $date $action $comment";
103 $this->list->getContext()
106 $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,...
Parent class for all special pages.
Abstract base class for revision items.
static tags( $element, $attribs, $contents)
Same as Xml::element(), but does not escape contents.