*/
use MediaWiki\MediaWikiServices;
+use MediaWiki\Storage\RevisionRecord;
/**
* Item class for a logging table row with its associated change tags.
}
public function canView() {
- return LogEventsList::userCan( $this->row, Revision::DELETED_RESTRICTED, $this->list->getUser() );
+ return LogEventsList::userCan(
+ $this->row, RevisionRecord::SUPPRESSED_ALL, $this->list->getUser()
+ );
}
public function canViewContent() {
$loglink = $this->list->msg( 'parentheses' )->rawParams( $loglink )->escaped();
// User links and action text
$action = $formatter->getActionText();
- // Comment
+
$comment = $this->list->getLanguage()->getDirMark() .
$formatter->getComment();