Wikimedia

Replace Linker::link() usage with LinkRenderer in the MediaWiki core repository

MediaWiki provides a Linker class, which was used to generate links in MediaWiki for a long time. The more powerful LinkRenderer service replaced some of the Linker functions, which now are deprecated. To make it possible to remove the Linker::link() function from the Linker class, it's needed to replace all remaining usages of Linker::link().

Your task is to replace all usages of Linker::link() from at least 5 special pages and/or other usages in MediaWiki core, which you can select by yourself from the remaining usages in mediawiki/core (see the phabricator link to know, which needs to be converted).

If you've questions, feel free to ask in the phabricator task, contact Legoktm (legoktm in #wikimedia-dev) or me (FlorianSW in #wikimedia-dev).

Task tags

  • object-oriented
  • php
  • class
  • deprecation

Students who completed this task

Justin Du, Haikal Izzuddin, He Yifei, Filip, Yurii Shnitkovskyi, Subin Siby, Phantom42, David Sn

Task type

  • code Code
close

2016