< Extension:Translate < Hooks
TranslateGetAPIMessageGroupsParameterList
Available from version ???
Allows extra parameters to be added to the action=query&meta=messagegroups module
Define function:
public static function onTranslateGetAPIMessageGroupsParameterList( &$params ) { ... }
Attach hook:
$wgHooks['TranslateGetAPIMessageGroupsParameterList'][] = 'MyExtensionHooks::onTranslateGetAPIMessageGroupsParameterList';
Called from:File(s): Translate / api/ApiQueryMessageGroups.php
Function(s): getAllowedParams

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:TranslateGetAPIMessageGroupsParameterList extensions.

Details

  • array &$params: An associative array of possible parameters (name => details; see ApiQueryMessageGroups.php for correct spacing)
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.