< Manual:Hooks
ContributionsToolLinks | |
---|---|
Available from version 1.11.0 Change tool links above Special:Contributions | |
Define function: | public static function onContributionsToolLinks( $id, $title, &$tools, $sp ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"ContributionsToolLinks": "MyExtensionHooks::onContributionsToolLinks"
}
}
|
Called from: | File(s): specials/SpecialContributions.php |
Interface: | ContributionsToolLinksHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:ContributionsToolLinks extensions.
Details
- int $id - User identifier
- Title $title - User page title
- array &$tools - Array of tool links
- SpecialPage $sp - The SpecialPage object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.