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