MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onContributionsToolLinks ( $id, Title $title, array &$tools, SpecialPage $specialPage) | |
Use this hook to change the tool links above Special:Contributions. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ContributionsToolLinks" to register handlers implementing this interface.
Definition at line 15 of file ContributionsToolLinksHook.php.
MediaWiki\Hook\ContributionsToolLinksHook::onContributionsToolLinks | ( | $id, | |
Title | $title, | ||
array & | $tools, | ||
SpecialPage | $specialPage ) |
Use this hook to change the tool links above Special:Contributions.
int | $id | User identifier |
Title | $title | User page title |
string[] | &$tools | Array of tool links |
SpecialPage | $specialPage | SpecialPage instance for context and services. Can be either SpecialContributions or DeletedContributionsPage. Extensions should type hint against a generic SpecialPage though. |
Implemented in MediaWiki\HookContainer\HookRunner.