Page MenuHomePhabricator

Replace usages of Linker::link() and Linker::linkKnown() in extension EventLogging
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

./EventLogging/includes/JsonSchemaContent.php:				$link = Linker::link( $title, htmlspecialchars( $val ), [],

Event Timeline

Change 679976 had a related patch set uploaded (by Mholloway; author: Michael Holloway):

[mediawiki/extensions/EventLogging@master] Replace deprecated usage of Linker::link

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

Mholloway triaged this task as Medium priority.
Mholloway moved this task from Inbox to Reviewing on the Product-Data-Infrastructure board.

@fdans, Thanks for the heads-up. Do you know who would be the right person to merge this?

This could probably use review by a PET Clinic Duty engineer familiar with the legacy Linker and current LinkRenderer APIs.

Mholloway moved this task from Reviewing to Done on the Product-Data-Infrastructure board.

Change 679976 merged by jenkins-bot:

[mediawiki/extensions/EventLogging@master] Replace deprecated usage of Linker::link

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