76 $date = htmlspecialchars( $this->list->getLanguage()->userTimeAndDate(
77 $this->row->log_timestamp, $this->list->getUser() ) );
78 $title = Title::makeTitle( $this->row->log_namespace, $this->row->log_title );
79 $formatter = LogFormatter::newFromRow( $this->row );
80 $formatter->setContext( $this->list->getContext() );
81 $formatter->setAudience( LogFormatter::FOR_THIS_USER );
84 $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
85 SpecialPage::getTitleFor(
'Log' ),
86 $this->list->msg(
'log' )->text(),
88 [
'page' => $title->getPrefixedText() ]
90 $loglink = $this->list->msg(
'parentheses' )->rawParams( $loglink )->escaped();
92 $action = $formatter->getActionText();
94 $comment = $this->list->getLanguage()->getDirMark() .
95 $formatter->getComment();
97 $content =
"$loglink $date $action $comment";
104 $this->list->getContext()
106 $content .=
" $tagSummary";
107 $attribs[
'class'] = implode(
' ', $classes );
109 return Html::rawElement(
'li', $attribs, $content );