MediaWiki
REL1_35
TestCanonicalRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
OutputPage
;
6
use
Title
;
7
use
WebRequest
;
8
13
interface
TestCanonicalRedirectHook
{
27
public
function
onTestCanonicalRedirect
( $request,
$title
, $output );
28
}
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
Title
Represents a title within MediaWiki.
Definition
Title.php:42
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:42
MediaWiki\Hook\TestCanonicalRedirectHook
Stable to implement.
Definition
TestCanonicalRedirectHook.php:13
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
$title
$title
Definition
testCompression.php:38
includes
Hook
TestCanonicalRedirectHook.php
Generated on Sat Apr 6 2024 00:07:13 for MediaWiki by
1.9.8