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

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

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

Public Member Functions

 onTranslateGetAPIMessageGroupsParameterList (array &$params)
 Allows extra parameters to be added to the action=query&meta=messagegroups module.
 

Detailed Description

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

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

@stable to implement

Definition at line 13 of file GetAPIMessageGroupsParameterListHook.php.

Member Function Documentation

◆ onTranslateGetAPIMessageGroupsParameterList()

MediaWiki\Extension\Translate\MessageGroupProcessing\GetAPIMessageGroupsParameterListHook::onTranslateGetAPIMessageGroupsParameterList ( array & $params)

Allows extra parameters to be added to the action=query&meta=messagegroups module.

Parameters
array&$paramsAn associative array of possible parameters (name => details; see ApiQueryMessageGroups.php for correct spacing)
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: