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