MediaWiki master
BeforePageRedirectHook.php
Go to the documentation of this file.
1<?php
2
4
6
27 public function onBeforePageRedirect( $out, &$redirect, &$code );
28}
29
31class_alias( BeforePageRedirectHook::class, 'MediaWiki\Hook\BeforePageRedirectHook' );
This is one of the Core classes and should be read at least once by any new developers.
This is a hook handler interface, see docs/Hooks.md.
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.