MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onMediaWikiPerformAction ( $output, $article, $title, $user, $request, $mediaWiki) | |
Use this hook to override ActionEntryPoint::performAction(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MediaWikiPerformAction" to register handlers implementing this interface.
Definition at line 19 of file MediaWikiPerformActionHook.php.
MediaWiki\Hook\MediaWikiPerformActionHook::onMediaWikiPerformAction | ( | $output, | |
$article, | |||
$title, | |||
$user, | |||
$request, | |||
$mediaWiki ) |
Use this hook to override ActionEntryPoint::performAction().
Use this to do something completely different, after the basic globals have been set up, but before ordinary actions take place.
OutputPage | $output | Context output |
Article | $article | Article on which the action will be performed |
Title | $title | Title on which the action will be performed |
User | $user | Context user |
WebRequest | $request | Context request |
ActionEntryPoint | $mediaWiki | (Changed from MediaWiki in 1.42) |
Implemented in MediaWiki\HookContainer\HookRunner.