MediaWiki
1.39.10
InitializeArticleMaybeRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Article
;
6
use
Title
;
7
use
WebRequest
;
8
16
interface
InitializeArticleMaybeRedirectHook
{
29
public
function
onInitializeArticleMaybeRedirect
(
$title
, $request,
30
&$ignoreRedirect, &$target, &$article
31
);
32
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:48
Title
Represents a title within MediaWiki.
Definition
Title.php:49
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:44
MediaWiki\Hook\InitializeArticleMaybeRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
InitializeArticleMaybeRedirectHook.php:16
MediaWiki\Hook\InitializeArticleMaybeRedirectHook\onInitializeArticleMaybeRedirect
onInitializeArticleMaybeRedirect( $title, $request, &$ignoreRedirect, &$target, &$article)
Use this hook to check whether a title is a redirect.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Hook
InitializeArticleMaybeRedirectHook.php
Generated on Tue Oct 1 2024 01:15:41 for MediaWiki by
1.10.0