Page MenuHomePhabricator

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

./RevisionCommentSupplement/RevisionCommentSupplement.hook.php:				Linker::linkKnown(
./RevisionCommentSupplement/special/SpecialRevisionCommentSupplement.php:			$link = Linker::linkKnown(
./RevisionCommentSupplement/special/SpecialRevisionCommentSupplement.php:								Linker::linkKnown(
./RevisionCommentSupplement/special/SpecialRevisionCommentSupplement.php:						Linker::linkKnown(
./RevisionCommentSupplement/special/SpecialRevisionCommentSupplement.php:						Linker::linkKnown(
./RevisionCommentSupplement/special/SpecialRevisionCommentSupplement.php:						Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementDelete.php:			$link = Linker::link(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHideHistory.php:			$link = Linker::link(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHideHistory.php:					Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHideHistory.php:					Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHideHistory.php:					Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHideHistory.php:					Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementHistory.php:					$hide = '(' . Linker::link(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementList.php:					$link .= Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementList.php:				$link .= Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementList.php:				$link = Linker::linkKnown(
./RevisionCommentSupplement/special/ViewRevisionCommentSupplementList.php:					return Linker::linkKnown(

Event Timeline

Change 814265 had a related patch set uploaded (by Southparkfan; author: Southparkfan):

[mediawiki/extensions/RevisionCommentSupplement@master] Replace Linker::link() and linkKnown() with LinkRenderer service

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

Change 814265 merged by jenkins-bot:

[mediawiki/extensions/RevisionCommentSupplement@master] Replace Linker::link() and linkKnown() with LinkRenderer service

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

Southparkfan reopened this task as Open.

Nevermind, missed one occurrence :P

Change 814889 had a related patch set uploaded (by Southparkfan; author: Southparkfan):

[mediawiki/extensions/RevisionCommentSupplement@master] Replace Linker::linkKnown() with LinkRenderer, second time

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

Change 814889 merged by jenkins-bot:

[mediawiki/extensions/RevisionCommentSupplement@master] Replace Linker::linkKnown() with LinkRenderer, second time

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