MediaWiki
master
BeforeInitializeHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Actions\ActionEntryPoint
;
6
use
MediaWiki\Output\OutputPage
;
7
use
MediaWiki\Request\WebRequest
;
8
use
MediaWiki\Title\Title
;
9
use
MediaWiki\User\User
;
10
18
interface
BeforeInitializeHook
{
33
public
function
onBeforeInitialize
(
34
$title,
35
$unused,
36
$output,
37
$user,
38
$request,
39
$mediaWikiEntryPoint
40
);
41
}
MediaWiki\Actions\ActionEntryPoint
The index.php entry point for web browser navigations, usually routed to an Action or SpecialPage sub...
Definition
ActionEntryPoint.php:41
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:98
MediaWiki\Request\WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form,...
Definition
WebRequest.php:51
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Hook\BeforeInitializeHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BeforeInitializeHook.php:18
MediaWiki\Hook\BeforeInitializeHook\onBeforeInitialize
onBeforeInitialize( $title, $unused, $output, $user, $request, $mediaWikiEntryPoint)
This hook is called before anything is initialized in ActionEntryPoint::performRequest().
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
BeforeInitializeHook.php
Generated on Mon Sep 16 2024 13:23:14 for MediaWiki by
1.10.0