MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Hook;
5 use Article;
31  public function onInitializeArticleMaybeRedirect( $title, $request,
32  &$ignoreRedirect, &$target, &$article
33  );
34 }
Legacy class representing an editable page and handling UI for some page actions.
Definition: Article.php:61
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition: WebRequest.php:50
Represents a title within MediaWiki.
Definition: Title.php:76
This is a hook handler interface, see docs/
onInitializeArticleMaybeRedirect( $title, $request, &$ignoreRedirect, &$target, &$article)
Use this hook to override whether a title is a redirect.