MediaWiki
REL1_39
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:58
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 Mon Dec 23 2024 06:22:37 for MediaWiki by
1.10.0