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

Public Member Functions | |
| onInitializeArticleMaybeRedirect ( $title, $request, &$ignoreRedirect, &$target, &$article) | |
| Use this hook to check whether a title is a redirect. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "InitializeArticleMaybeRedirect" to register handlers implementing this interface.
Definition at line 16 of file InitializeArticleMaybeRedirectHook.php.
| MediaWiki\Hook\InitializeArticleMaybeRedirectHook::onInitializeArticleMaybeRedirect | ( | $title, | |
| $request, | |||
| & | $ignoreRedirect, | ||
| & | $target, | ||
| & | $article ) |
Use this hook to check whether a title is a redirect.
| Title | $title | Title object for the current page |
| WebRequest | $request | |
| bool | &$ignoreRedirect | Boolean to skip redirect check |
| Title | string | &$target | Title/string of redirect target |
| Article | &$article |
Implemented in MediaWiki\HookContainer\HookRunner.