Available from version 1.12.0
Override or augment link to article in RC list.
Define function:
public static function onChangesListInsertArticleLink( ChangesList $changesList, string &$articlelink, string &$s, RecentChange &$rc, bool $unpatrolled, bool $watched ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"ChangesListInsertArticleLink": "MediaWiki\\Extension\\MyExtension\\Hooks::onChangesListInsertArticleLink"
Called from: File(s): changes/ChangesList.php
Function(s): getArticleLink
Interface: ChangesListInsertArticleLinkHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ChangesListInsertArticleLink extensions.

Details edit

  • $changesList: ChangesList instance.
  • &$articlelink: HTML of link to article (already filled-in).
  • &$s: HTML of row that is being constructed.
  • &$rc: RecentChange instance.
  • $unpatrolled: Whether or not we are showing unpatrolled changes.
  • $watched: Whether or not the change is watched by the user.