MediaWiki REL1_39
TestCanonicalRedirectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use OutputPage;
6use Title;
7use WebRequest;
8
30 public function onTestCanonicalRedirect( $request, $title, $output );
31}
This is one of the Core classes and should be read at least once by any new developers.
Represents a title within MediaWiki.
Definition Title.php:49
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
This is a hook handler interface, see docs/Hooks.md.
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...