Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\GetAPIMessageGroupsPropertyDescsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in core. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\GetAPIMessageGroupsPropertyDescsHook:
MediaWiki\Extension\Translate\HookRunner

Public Member Functions

 onTranslateGetAPIMessageGroupsPropertyDescs (array &$properties)
 Allows extra properties to be added to captured by action=query&meta=messagegroups&mgprop=foo|bar|bat module.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in core.

Use the hook name "TranslateGetAPIMessageGroupsPropertyDescs" to register handlers implementing this interface.

@stable to implement

Definition at line 13 of file GetAPIMessageGroupsPropertyDescsHook.php.

Member Function Documentation

◆ onTranslateGetAPIMessageGroupsPropertyDescs()

MediaWiki\Extension\Translate\MessageGroupProcessing\GetAPIMessageGroupsPropertyDescsHook::onTranslateGetAPIMessageGroupsPropertyDescs ( array & $properties)

Allows extra properties to be added to captured by action=query&meta=messagegroups&mgprop=foo|bar|bat module.

Parameters
array&$propertiesAn associative array of properties, name => description (which is ignored)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Extension\Translate\HookRunner.


The documentation for this interface was generated from the following file: