MediaWiki master
MediaWiki\Hook\BeforeInitializeHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onBeforeInitialize ( $title, $unused, $output, $user, $request, $mediaWikiEntryPoint)
 This hook is called before anything is initialized in ActionEntryPoint::performRequest().
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 18 of file BeforeInitializeHook.php.

Member Function Documentation

◆ onBeforeInitialize()

MediaWiki\Hook\BeforeInitializeHook::onBeforeInitialize ( $title,
$unused,
$output,
$user,
$request,
$mediaWikiEntryPoint )

This hook is called before anything is initialized in ActionEntryPoint::performRequest().

Since
1.35
Parameters
Title$titleTitle being used for request
null$unused
OutputPage$output
User$user
WebRequest$request
ActionEntryPoint$mediaWikiEntryPoint(changed from MediaWiki to MediaWikiEntryPoint in MW 1.42)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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