MediaWiki REL1_40
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, $mediaWiki)
 This hook is called before anything is initialized in MediaWiki::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,
$mediaWiki )

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

Since
1.35
Parameters
Title$titleTitle being used for request
null$unused
OutputPage$output
User$user
WebRequest$request
MediaWiki$mediaWiki
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: