MediaWiki  master
GetActionNameHook.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
11 interface GetActionNameHook {
21  public function onGetActionName( IContextSource $context, string &$action ): void;
22 }
Interface for objects which can provide a MediaWiki context on request.
onGetActionName(IContextSource $context, string &$action)
Use this hook to override the action name depending on request parameters.