|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| 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 other parameters on the URL. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TestCanonicalRedirect" to register handlers implementing this interface.
Definition at line 16 of file TestCanonicalRedirectHook.php.
| MediaWiki\Hook\TestCanonicalRedirectHook::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 other parameters on the URL.
Use this hook to alter page view behavior radically to abort that redirect or handle it manually.
| WebRequest | $request | |
| Title | $title | Title of the currently found Title object |
| OutputPage | $output |
Implemented in MediaWiki\HookContainer\HookRunner.