MediaWiki master
ArticleViewRedirectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use Article;
6
24 public function onArticleViewRedirect( $article );
25}
Legacy class representing an editable page and handling UI for some page actions.
Definition Article.php:72
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.