MediaWiki
fundraising/REL1_35
BeforeInitializeHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki
;
6
use
OutputPage
;
7
use
Title
;
8
use
User
;
9
use
WebRequest
;
10
15
interface
BeforeInitializeHook
{
29
public
function
onBeforeInitialize
(
$title
, $unused, $output, $user, $request,
30
$mediaWiki
31
);
32
}
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
Title
Represents a title within MediaWiki.
Definition
Title.php:42
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:42
MediaWiki\Hook\BeforeInitializeHook
Stable to implement.
Definition
BeforeInitializeHook.php:15
MediaWiki\Hook\BeforeInitializeHook\onBeforeInitialize
onBeforeInitialize( $title, $unused, $output, $user, $request, $mediaWiki)
This hook is called before anything is initialized in MediaWiki::performRequest().
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
MediaWiki
A helper class for throttling authentication attempts.
$title
$title
Definition
testCompression.php:38
includes
Hook
BeforeInitializeHook.php
Generated on Mon Nov 25 2024 16:14:45 for MediaWiki by
1.10.0