Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6085482
ContributionsToolLinksHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
988 B
Referenced Files
None
Subscribers
None
ContributionsToolLinksHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\SpecialPage\SpecialPage
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ContributionsToolLinks" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ContributionsToolLinksHook
{
/**
* Use this hook to change the tool links above Special:Contributions.
*
* @since 1.35
*
* @param int $id User identifier
* @param Title $title User page title
* @param string[] &$tools Array of tool links
* @param SpecialPage $specialPage SpecialPage instance for context and services. Can be either
* a ContributionsSpecialPage or DeletedContributionsPage. Extensions should type
* hint against a generic SpecialPage though.
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onContributionsToolLinks
(
$id
,
Title
$title
,
array
&
$tools
,
SpecialPage
$specialPage
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 13:44 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
75/55/6a13fb890ee32c2a84c1f528ca55
Default Alt Text
ContributionsToolLinksHook.php (988 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment