X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsLogItem.php;h=b78efafa65fef9ee45e1235641d4daa330fbadba;hb=5ff347bb044057d3cc560e860c85af26163bc979;hp=2dc953c360bfada04cef9be05f9cd3e07425e3dd;hpb=c42f06642091e1cb1142066b0a52a69a0c7e783d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changetags/ChangeTagsLogItem.php b/includes/changetags/ChangeTagsLogItem.php index 2dc953c360..b78efafa65 100644 --- a/includes/changetags/ChangeTagsLogItem.php +++ b/includes/changetags/ChangeTagsLogItem.php @@ -19,6 +19,8 @@ * @ingroup Change tagging */ +use MediaWiki\MediaWikiServices; + /** * Item class for a logging table row with its associated change tags. * @todo Abstract out a base class for this and RevDelLogItem, similar to the @@ -70,9 +72,9 @@ class ChangeTagsLogItem extends RevisionItemBase { $formatter->setAudience( LogFormatter::FOR_THIS_USER ); // Log link for this page - $loglink = Linker::link( + $loglink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink( SpecialPage::getTitleFor( 'Log' ), - $this->list->msg( 'log' )->escaped(), + $this->list->msg( 'log' )->text(), [], [ 'page' => $title->getPrefixedText() ] );