MediaWiki
REL1_41
GetActionNameHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Actions\Hook
;
4
5
use
IContextSource
;
6
11
interface
GetActionNameHook
{
21
public
function
onGetActionName
(
IContextSource
$context,
string
&$action ): void;
22
}
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:64
MediaWiki\Actions\Hook\GetActionNameHook
Definition
GetActionNameHook.php:11
MediaWiki\Actions\Hook\GetActionNameHook\onGetActionName
onGetActionName(IContextSource $context, string &$action)
Use this hook to override the action name depending on request parameters.
MediaWiki\Actions\Hook
Definition
GetActionNameHook.php:3
includes
actions
Hook
GetActionNameHook.php
Generated on Wed Nov 27 2024 07:22:41 for MediaWiki by
1.10.0