MediaWiki REL1_35
MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook:

Public Member Functions

 onAPIQuerySiteInfoGeneralInfo ( $module, &$results)
 Use this hook to add extra information to the site's general information.
 

Detailed Description

Stable to implement.

Definition at line 11 of file APIQuerySiteInfoGeneralInfoHook.php.

Member Function Documentation

◆ onAPIQuerySiteInfoGeneralInfo()

MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook::onAPIQuerySiteInfoGeneralInfo (   $module,
$results 
)

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

Since
1.35
Parameters
ApiQuerySiteinfo$moduleCurrent ApiQuerySiteinfo module
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: