MediaWiki  master
BeforePageRedirectHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use OutputPage;
6 
24  public function onBeforePageRedirect( $out, &$redirect, &$code );
25 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\BeforePageRedirectHook
Stable to implement.
Definition: BeforePageRedirectHook.php:11
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:47
MediaWiki\Hook\BeforePageRedirectHook\onBeforePageRedirect
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.