Page MenuHomePhabricator

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

./WikiForum/includes/WFCategory.php:		$output = Linker::link(
./WikiForum/includes/WikiForum.php:		$retVal = Linker::link( Title::makeTitle( NS_USER, $username ), $username );
./WikiForum/includes/WikiForum.php:			return Linker::link( Title::makeTitle( NS_USER_TALK, $username ), $username );

Event Timeline

Change 683005 had a related patch set uploaded (by Jack Phoenix; author: Jack Phoenix):

[mediawiki/extensions/WikiForum@master] Linker -> LinkRenderer

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

Change 683005 merged by jenkins-bot:

[mediawiki/extensions/WikiForum@master] Linker -> LinkRenderer

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