MediaWiki REL1_35
MediaWiki\Hook\BeforeInitializeHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\BeforeInitializeHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 15 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$unusedNull
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: