Extension:Translate/Hooks/TranslateGetAPIMessageGroupsPropertyDescs

TranslateGetAPIMessageGroupsPropertyDescs
Available from versionĀ ???
Allows extra properties to be added to captured by action=query&meta=messagegroups&mgprop=foo
Define function:
public static function onTranslateGetAPIMessageGroupsPropertyDescs( &$properties ) { ... }
Attach hook:
$wgHooks['TranslateGetAPIMessageGroupsPropertyDescs'][] = 'MyExtensionHooks::onTranslateGetAPIMessageGroupsPropertyDescs';
Called from:File(s): Translate / api/ApiQueryMessageGroups.php
Function(s): getPropertyList

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

DetailsEdit

  • array &$properties: An associative array of properties, name => description (which is ignored).