MediaWiki
REL1_35
ArticleViewRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
Article
;
6
11
interface
ArticleViewRedirectHook
{
21
public
function
onArticleViewRedirect
( $article );
22
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
MediaWiki\Page\Hook\ArticleViewRedirectHook
Stable to implement.
Definition
ArticleViewRedirectHook.php:11
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 Sat Apr 6 2024 00:07:34 for MediaWiki by
1.9.8