MediaWiki
master
ArticleViewRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
14
interface
ArticleViewRedirectHook
{
24
public
function
onArticleViewRedirect
( $article );
25
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:72
MediaWiki\Page\Hook\ArticleViewRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticleViewRedirectHook.php:14
MediaWiki\Page\Hook\ArticleViewRedirectHook\onArticleViewRedirect
onArticleViewRedirect( $article)
This hook is called before setting "Redirected from ..." subtitle when a redirect was followed.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
includes
page
Hook
ArticleViewRedirectHook.php
Generated on Wed Nov 13 2024 19:24:28 for MediaWiki by
1.10.0