MediaWiki
REL1_39
BeforePageRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
OutputPage
;
6
14
interface
BeforePageRedirectHook
{
27
public
function
onBeforePageRedirect
( $out, &$redirect, &$code );
28
}
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:54
MediaWiki\Hook\BeforePageRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BeforePageRedirectHook.php:14
MediaWiki\Hook\BeforePageRedirectHook\onBeforePageRedirect
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
BeforePageRedirectHook.php
Generated on Wed Mar 26 2025 23:06:29 for MediaWiki by
1.10.0