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 }
Legacy class representing an editable page and handling UI for some page actions.
Definition: Article.php:61
This is a hook handler interface, see docs/Hooks.md.
onArticleViewRedirect( $article)
This hook is called before setting "Redirected from ..." subtitle when a redirect was followed.