MediaWiki
master
BeforePageRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Output\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
14
interface
BeforePageRedirectHook
{
27
public
function
onBeforePageRedirect
( $out, &$redirect, &$code );
28
}
29
31
class_alias( BeforePageRedirectHook::class,
'MediaWiki\Hook\BeforePageRedirectHook'
);
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:98
MediaWiki\Output\Hook\BeforePageRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BeforePageRedirectHook.php:14
MediaWiki\Output\Hook\BeforePageRedirectHook\onBeforePageRedirect
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.
MediaWiki\Output\Hook
Definition
AfterBuildFeedLinksHook.php:3
includes
Output
Hook
BeforePageRedirectHook.php
Generated on Sun Nov 10 2024 14:24:46 for MediaWiki by
1.10.0