MediaWiki
master
TestCanonicalRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
use
MediaWiki\Request\WebRequest
;
7
use
MediaWiki\Title\Title
;
8
16
interface
TestCanonicalRedirectHook
{
30
public
function
onTestCanonicalRedirect
( $request, $title, $output );
31
}
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\Request\WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form,...
Definition
WebRequest.php:51
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Hook\TestCanonicalRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TestCanonicalRedirectHook.php:16
MediaWiki\Hook\TestCanonicalRedirectHook\onTestCanonicalRedirect
onTestCanonicalRedirect( $request, $title, $output)
This hook is called when about to force a redirect to a canonical URL for a title when we have no oth...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
TestCanonicalRedirectHook.php
Generated on Sat Oct 12 2024 03:23:25 for MediaWiki by
1.10.0