| APIQuerySiteInfoStatisticsInfo | |
|---|---|
| Available fromversion 1.22.0 Used to add extra information to the SiteInfo statistics information output | |
| Define function: | publicstaticfunctiononAPIQuerySiteInfoStatisticsInfo(&$result){...} |
| Attach hook: | Inextension.json:{"Hooks":{"APIQuerySiteInfoStatisticsInfo":"MediaWiki\\Extension\\MyExtension\\Hooks::onAPIQuerySiteInfoStatisticsInfo"}} |
| Called from: | File(s):api/ApiQuerySiteinfo.php |
| Interface: | APIQuerySiteInfoStatisticsInfoHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:APIQuerySiteInfoStatisticsInfo extensions.