Manual:Hooks/APIQuerySiteInfoGeneralInfo
From MediaWiki.org
| APIQuerySiteInfoGeneralInfo | |
|---|---|
| Available from version 1.18.0 Used to add extra information to the SiteInfo general information output |
|
Define function: |
public static function onAPIQuerySiteInfoGeneralInfo( $module, &$result ) { ... }
|
Attach hook: |
$wgHooks['APIQuerySiteInfoGeneralInfo'][] = 'MyExtensionHooks::onAPIQuerySiteInfoGeneralInfo'; |
| Called from: | ApiQuerySiteInfo |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:APIQuerySiteInfoGeneralInfo extensions.
[edit] Details
- &$module: ApiQuerySiteInfo module
- &$result: Result array for extra information to be added to