Extension:CheckUser/Hooks/CheckUserSubtitleLinks
Appearance
From mediawiki.org
| 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
[edit ]$context: An instance ofIContextSource&$links: A modifiablearrayof links