Page MenuHomePhabricator

Replace usages of Linker::link() and Linker::linkKnown() in extension CentralAuth
Closed, ResolvedPublic


Linker::link() and Linker::linkKnown() functions are deprecated as of MediaWiki 1.28, and the new LinkRenderer is preferred instead.

./CentralAuth/includes/CentralAuthHooks.php:			$link = Linker::link( $title, htmlspecialchars( $params[0] ) );
./CentralAuth/includes/CentralAuthHooks.php:			$new = Linker::link(
./CentralAuth/includes/CentralAuthHooks.php:			$old = Linker::link(

Event Timeline

Palak199 subscribed.

I made this correction in PageForms. I would like to do it in this extension too.

Change 677804 had a related patch set uploaded (by Palak199; author: Palak199):

[mediawiki/extensions/CentralAuth@master] Replace:: the link function with linkRenderer

Change 677804 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Replace the link function with linkRenderer