Extension:CheckUser/Hooks/CheckUserSubtitleLinks

From Linux Web Expert

CheckUserSubtitleLinks
Available from version 1.36.0 (Gerrit change 617281)
Use this hook to modify the subtitle links on Special:Investigate.
Define function:
public static function onCheckUserSubtitleLinks( IContextSource $context, array &$links ) { ... }
Attach hook:
$wgHooks['CheckUserSubtitleLinks'][] = 'MyExtensionHooks::onCheckUserSubtitleLinks';
Called from:File(s): CheckUser / src/SpecialInvestigate.php
Function(s): addSubtitle

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

Parameters

  • $context: An instance of IContextSource
  • &$links: A modifiable array of links