MediaWiki  master
ContributionsToolLinksHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use SpecialPage;
6 use Title;
7 
29  public function onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage );
30 }
MediaWiki\Hook\ContributionsToolLinksHook\onContributionsToolLinks
onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage)
Use this hook to change the tool links above Special:Contributions.
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ContributionsToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContributionsToolLinksHook.php:15
$title
$title
Definition: testCompression.php:38
SpecialPage
Parent class for all special pages.
Definition: SpecialPage.php:42
Title
Represents a title within MediaWiki.
Definition: Title.php:41