77 $date = htmlspecialchars( $this->list->getLanguage()->userTimeAndDate(
78 $this->row->log_timestamp, $this->list->getUser() ) );
79 $title = Title::makeTitle( $this->row->log_namespace, $this->row->log_title );
80 $formatter = LogFormatter::newFromRow( $this->row );
81 $formatter->setContext( $this->list->getContext() );
82 $formatter->setAudience( LogFormatter::FOR_THIS_USER );
85 $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
86 SpecialPage::getTitleFor(
'Log' ),
87 $this->list->msg(
'log' )->text(),
89 [
'page' => $title->getPrefixedText() ]
91 $loglink = $this->list->msg(
'parentheses' )->rawParams( $loglink )->escaped();
93 $action = $formatter->getActionText();
95 $comment = $this->list->getLanguage()->getDirMark() .
96 $formatter->getComment();
98 $content =
"$loglink $date $action $comment";
105 $this->list->getContext()
107 $content .=
" $tagSummary";
108 $attribs[
'class'] = implode(
' ', $classes );
110 return Html::rawElement(
'li', $attribs, $content );