MediaWiki  master
ArticleViewRedirectHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Article;
6 
24  public function onArticleViewRedirect( $article );
25 }
Page::Hook\ArticleViewRedirectHook\onArticleViewRedirect
onArticleViewRedirect( $article)
This hook is called before setting "Redirected from ..." subtitle when a redirect was followed.
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:49
Page::Hook\ArticleViewRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleViewRedirectHook.php:14
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3