MediaWiki master
MediaWiki\Specials\Hook\SpecialLogResolveLogTypeHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSpecialLogResolveLogType (array $params, string &$type)
 Hook for intercepting and changing the requested log type in Special:Log, for example, in order to intercept an alias for the log type and change it to the canonical name.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialLogResolveLogType" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 13 of file SpecialLogResolveLogTypeHook.php.

Member Function Documentation

◆ onSpecialLogResolveLogType()

MediaWiki\Specials\Hook\SpecialLogResolveLogTypeHook::onSpecialLogResolveLogType ( array $params,
string & $type )

Hook for intercepting and changing the requested log type in Special:Log, for example, in order to intercept an alias for the log type and change it to the canonical name.

Parameters
array$paramsRequest parameters from the URL
string&$typeLog type, which may be changed by the hook
Returns
void
Since
1.45

Implemented in MediaWiki\HookContainer\HookRunner.


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