MediaWiki  master
MediaWiki\Api\Hook\APIQuerySiteInfoStatisticsInfoHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Api\Hook\APIQuerySiteInfoStatisticsInfoHook:

Public Member Functions

 onAPIQuerySiteInfoStatisticsInfo (&$results)
 Use this hook to add extra information to the site's statistics information. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "APIQuerySiteInfoStatisticsInfo" to register handlers implementing this interface.

Stable to implement

Definition at line 12 of file APIQuerySiteInfoStatisticsInfoHook.php.

Member Function Documentation

◆ onAPIQuerySiteInfoStatisticsInfo()

MediaWiki\Api\Hook\APIQuerySiteInfoStatisticsInfoHook::onAPIQuerySiteInfoStatisticsInfo ( $results)

Use this hook to add extra information to the site's statistics information.

Since
1.35
Parameters
array&$resultsArray of results, add things here
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


The documentation for this interface was generated from the following file: