MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Hook;
5 use MediaWiki;
6 use OutputPage;
7 use Title;
8 use User;
9 use WebRequest;
32  public function onBeforeInitialize( $title, $unused, $output, $user, $request,
33  $mediaWiki
34  );
35 }
The MediaWiki class is the helper class for the index.php entry point.
Definition: MediaWiki.php:38
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:52
Represents a title within MediaWiki.
Definition: Title.php:48
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition: WebRequest.php:43
This is a hook handler interface, see docs/
onBeforeInitialize( $title, $unused, $output, $user, $request, $mediaWiki)
This hook is called before anything is initialized in MediaWiki::performRequest().