| SpecialStatsAddExtra | |
|---|---|
| Available fromversion 1.16.0 (r54516,CodeReview archive) Can be used to add extra statistic at the end of Special:Statistics. | |
| Define function: | publicstaticfunctiononSpecialStatsAddExtra(&$extraStats,IContextSource$context){...} |
| Attach hook: | Inextension.json:{"Hooks":{"SpecialStatsAddExtra":"MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialStatsAddExtra"}} |
| Called from: | File(s):SpecialStatistics.php |
| Interface: | SpecialStatsAddExtraHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:SpecialStatsAddExtra extensions.