|
MediaWiki master
|
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialLogResolveLogType" to register handlers implementing this interface.
Definition at line 13 of file SpecialLogResolveLogTypeHook.php.
| 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.
| array | $params | Request parameters from the URL |
| string | &$type | Log type, which may be changed by the hook |
Implemented in MediaWiki\HookContainer\HookRunner.