X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsLogItem.php;h=75b713ef0d7d7fe6ca05fe24c4315e5ac07a2408;hp=b78efafa65fef9ee45e1235641d4daa330fbadba;hb=a38af7ba26579bb3004f673e44d39710887763aa;hpb=0e80bbf07dd6bfc5130561e7dfe5738e85518807 diff --git a/includes/changetags/ChangeTagsLogItem.php b/includes/changetags/ChangeTagsLogItem.php index b78efafa65..75b713ef0d 100644 --- a/includes/changetags/ChangeTagsLogItem.php +++ b/includes/changetags/ChangeTagsLogItem.php @@ -44,6 +44,10 @@ class ChangeTagsLogItem extends RevisionItemBase { return 'log_user_text'; } + public function getAuthorActorField() { + return 'log_actor'; + } + public function canView() { return LogEventsList::userCan( $this->row, Revision::DELETED_RESTRICTED, $this->list->getUser() ); } @@ -81,7 +85,7 @@ class ChangeTagsLogItem extends RevisionItemBase { $loglink = $this->list->msg( 'parentheses' )->rawParams( $loglink )->escaped(); // User links and action text $action = $formatter->getActionText(); - // Comment + $comment = $this->list->getLanguage()->getDirMark() . $formatter->getComment();