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