MediaWiki REL1_40
MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook Interface Reference

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

Inherited by MediaWiki\Api\ApiHookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 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: