Wikimedia

Replace multiple Linker::link() usages with LinkRenderer in three MediaWiki extensions

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() in three MediaWiki extensions of your choice. You can select them yourself from the remaining extensions (please do see the Phabricator link for a list what needs to be converted and note that this list might get outdated the more GCI students have worked on fixing an extension!).

Example conversion (simple): https://gerrit.wikimedia.org/r/#/c/303075/

Documentation: https://www.mediawiki.org/wiki/Manual:LinkRenderer

If you've questions, feel free to ask in the Phabricator task, contact Legoktm in #wikimedia-dev on Freenode IRC or FlorianSW #wikimedia-dev on Freenode IRC.

Task tags

  • deprecation
  • php
  • object-orientated
  • class

Students who completed this task

Yurii Shnitkovskyi, Subin Siby, David Sn, Lukas A, Filip

Task type

  • code Code
close

2016