Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4066646
SpecialStatsAddExtraHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1001 B
Referenced Files
None
Subscribers
None
SpecialStatsAddExtraHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Context\IContextSource
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialStatsAddExtra" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SpecialStatsAddExtraHook
{
/**
* Use this hook to add extra statistics at the end of Special:Statistics.
*
* @since 1.35
*
* @param array &$extraStats Array to save the new stats
* $extraStats['<name of statistic>'] => <value>;
* <value> can be an array with the keys "name" and "number":
* "name" is the HTML to be displayed in the name column
* "number" is the number to be displayed.
* or, <value> can be the number to be displayed and <name> is the
* message key to use in the name column,
* @param IContextSource $context
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSpecialStatsAddExtra
(
&
$extraStats
,
$context
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 17:02 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/e8/0689b7069afe7d59f25e4d7da2a7
Default Alt Text
SpecialStatsAddExtraHook.php (1001 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment