Page MenuHomePhabricator

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

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

./Collection/includes/CollectionHooks.php:			return Linker::linkKnown(
./Collection/includes/CollectionHooks.php:			return Linker::linkKnown(
./Collection/includes/CollectionHooks.php:		return Linker::linkKnown(

Event Timeline

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

[mediawiki/extensions/Collection@master] Replace occurances of link() function with linkKnown()

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

Aklapper added a subscriber: Palak199.

@Palak199: Per emails from Sep18 and Oct20 and https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup , I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!

Change #679340 merged by jenkins-bot:

[mediawiki/extensions/Collection@master] Use LinkRenderer instead of Linker::link()

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

TheDJ claimed this task.