Page MenuHomePhabricator

Replace some Linker::linkKnown usages with LinkRenderer
Closed, ResolvedPublic

Description

The Linker::linkKnown() function is deprecated as of 1.28, and the new LinkRenderer is preferred instead. This task is to migrate extensions to use the new code instead of the deprecated function.

Event Timeline

Krinkle raised the priority of this task from to High.
Krinkle updated the task description. (Show Details)
Krinkle subscribed.

@Krinkle
Does not seem like this is a problem anymore. This is what I see under the makeListItem function. https://dpaste.de/Vpuu No instances if Linker::makeKnownLinkObj. Only Linker::linkKnown, which appears to still be in use. Correct me if I'm wrong.
Thanks,
MtDu

Jayprakash12345 renamed this task from [deprecated] Use of Linker::makeKnownLinkObj was deprecated. [Called from NewestPages::makeListItem] to Replace some Linker::linkKnown usages with LinkRenderer.Jul 27 2018, 12:48 PM
Jayprakash12345 claimed this task.
Jayprakash12345 updated the task description. (Show Details)

Change 448509 had a related patch set uploaded (by Jayprakash12345; owner: Jayprakash12345):
[mediawiki/extensions/NewestPages@master] Replace some Linker::linkKnown usages with LinkRenderer

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

Change 448509 merged by jenkins-bot:
[mediawiki/extensions/NewestPages@master] Replace some Linker::linkKnown usages with LinkRenderer

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

Jayprakash12345 lowered the priority of this task from High to Medium.
Jayprakash12345 removed a project: Patch-For-Review.
Jayprakash12345 removed a subscriber: gerritbot.