From mediawiki.org
Jump to navigation Jump to search
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.


  • array &$params: An associative array of possible parameters (name => details; see ApiQueryMessageGroups.php for correct spacing)