* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
*/
+use Wikimedia\Rdbms\ResultWrapper;
+
/**
* A special page that list pages that have highest category count
*
);
}
+ $linkRenderer = $this->getLinkRenderer();
if ( $this->isCached() ) {
- $link = Linker::link( $title );
+ $link = $linkRenderer->makeLink( $title );
} else {
- $link = Linker::linkKnown( $title );
+ $link = $linkRenderer->makeKnownLink( $title );
}
$count = $this->msg( 'ncategories' )->numParams( $result->value )->escaped();