MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSpecialStatsAddExtra (&$extraStats, $context) | |
Use this hook to add extra statistics at the end of Special:Statistics. | |
Stable to implement.
Definition at line 11 of file SpecialStatsAddExtraHook.php.
MediaWiki\Hook\SpecialStatsAddExtraHook::onSpecialStatsAddExtra | ( | & | $extraStats, |
$context ) |
Use this hook to add extra statistics at the end of Special:Statistics.
array | &$extraStats | Array to save the new stats $extraStats['<name of statistic>'] => |
;
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,
can be the number to be displayed and <name> is the message key to use in the name column,
IContextSource | $context | IContextSource object |
Implemented in MediaWiki\HookContainer\HookRunner.