Extension:Translate/Hooks/TranslateGetAPIMessageGroupsPropertyDescs

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

Details

  • array &$properties: An associative array of properties, name => description (which is ignored).
Category:Extension hooks Category:Extension hooks provided by Translate Category:MediaWiki deprecated or obsolete features Category:Removed extension hooks