Page MenuHomePhabricator

Replace usages of Linker::link() and Linker::linkKnown() in extension WikibaseClient
Closed, ResolvedPublic3 Estimated Story Points

Description

Linker::link() and Linker::linkKnown() functions are deprecated as of MediaWiki 1.28, and the new LinkRenderer is preferred instead.
https://doc.wikimedia.org/mediawiki-core/master/php/classLinker.html

./Wikibase/client/includes/RecentChanges/ChangeLineFormatter.php:		$link = Linker::link( $title );
./Wikibase/client/tests/phpunit/integration/includes/RecentChanges/ChangeLineFormatterTest.php:			'articleLink' => Linker::link( $recentChange->getTitle() ),

Event Timeline

Change 682250 had a related patch set uploaded (by Anjali041; author: Anjali041):

[mediawiki/extensions/Wikibase@master] Replace usages of Linker::link() with LinkRenderer

https://gerrit.wikimedia.org/r/682250

Change 682250 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Replace usages of Linker::link() with LinkRenderer

https://gerrit.wikimedia.org/r/682250

Addshore added a subscriber: Addshore.

codesearch says this looks good