X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedcategories.php;h=fc0c3123e32a6ec94e6e2588cc253aeb67457873;hb=c06e5256db1aeb807ffe9e0c290c6b54f67fe930;hp=9bf44adffd862ad0afd0e8623e06d4e3ebb4ffac;hpb=bdfe02223205923d923923dd420ba0dd863cd0fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWantedcategories.php b/includes/specials/SpecialWantedcategories.php index 9bf44adffd..fc0c3123e3 100644 --- a/includes/specials/SpecialWantedcategories.php +++ b/includes/specials/SpecialWantedcategories.php @@ -91,20 +91,17 @@ class WantedCategoriesPage extends WantedQueryPage { global $wgContLang; $nt = Title::makeTitle( $result->namespace, $result->title ); - $text = htmlspecialchars( $wgContLang->convert( $nt->getText() ) ); + $text = $wgContLang->convert( $nt->getText() ); if ( !$this->isCached() ) { // We can assume the freshest data - $plink = Linker::link( + $plink = $this->getLinkRenderer()->makeBrokenLink( $nt, - $text, - [], - [], - [ 'broken' ] + $text ); $nlinks = $this->msg( 'nmembers' )->numParams( $result->value )->escaped(); } else { - $plink = Linker::link( $nt, $text ); + $plink = $this->getLinkRenderer()->makeLink( $nt, $text ); $currentValue = isset( $this->currentCategoryCounts[$result->title] ) ? $this->currentCategoryCounts[$result->title]