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 );
78 $formatter = LogFormatter::newFromRow( $this->row );
79 $formatter->setContext( $this->list->getContext() );
80 $formatter->setAudience( LogFormatter::FOR_THIS_USER );
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 );
108 return Xml::tags(
'li', $attribs,
$content );