MediaWiki REL1_39
MediaWiki\Actions\Hook\GetActionNameHook Interface Reference
Inheritance diagram for MediaWiki\Actions\Hook\GetActionNameHook:

Public Member Functions

 onGetActionName (IContextSource $context, string &$action)
 Use this hook to override the action name depending on request parameters.
 

Detailed Description

Stability: stable
to implement

Definition at line 11 of file GetActionNameHook.php.

Member Function Documentation

◆ onGetActionName()

MediaWiki\Actions\Hook\GetActionNameHook::onGetActionName ( IContextSource $context,
string & $action )

Use this hook to override the action name depending on request parameters.

Since
1.37
Parameters
IContextSource$contextRequest context
string&$actionDefault action name, reassign to change it
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


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