Extension:Translate/Hooks/TranslateGetAPIMessageGroupsParameterList

Category:Extension hooks#TranslateGetAPIMessageGroupsParameterList Category:MediaWiki deprecated or obsolete features#Translate/Hooks/TranslateGetAPIMessageGroupsParameterList
TranslateGetAPIMessageGroupsParameterList
Available from version ???
Removed in version 2025.01Category:Removed extension hooks#TranslateGetAPIMessageGroupsParameterList
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): Category:Extension hooks provided by TranslateTranslate / 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)
Category:Extension hooks Category:Extension hooks provided by Translate Category:MediaWiki deprecated or obsolete features Category:Removed extension hooks