MediaWiki REL1_39
InitializeArticleMaybeRedirectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use Article;
6use Title;
7use WebRequest;
8
29 public function onInitializeArticleMaybeRedirect( $title, $request,
30 &$ignoreRedirect, &$target, &$article
31 );
32}
Legacy class representing an editable page and handling UI for some page actions.
Definition Article.php:48
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.
onInitializeArticleMaybeRedirect( $title, $request, &$ignoreRedirect, &$target, &$article)
Use this hook to check whether a title is a redirect.