From 5d7545dee00010b993dbb79c8b2bad3833bf8d43 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 6 Aug 2016 20:37:21 -0700 Subject: [PATCH] SpecialMostlinkedCategories: Use LinkRenderer instead of Linker::link() Change-Id: Ib2f08246b173cf1d39e33d2e07490463bbab1bf5 --- includes/specials/SpecialMostlinkedcategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialMostlinkedcategories.php b/includes/specials/SpecialMostlinkedcategories.php index b8316f3eb0..3ead08ad41 100644 --- a/includes/specials/SpecialMostlinkedcategories.php +++ b/includes/specials/SpecialMostlinkedcategories.php @@ -94,7 +94,7 @@ class MostlinkedCategoriesPage extends QueryPage { } $text = $wgContLang->convert( $nt->getText() ); - $plink = Linker::link( $nt, htmlspecialchars( $text ) ); + $plink = $this->getLinkRenderer()->makeLink( $nt, $text ); $nlinks = $this->msg( 'nmembers' )->numParams( $result->value )->escaped(); return $this->getLanguage()->specialList( $plink, $nlinks ); -- 2.20.1