MediaWiki  master
DisplayOldSubtitleHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use Article;
6 
25  public function onDisplayOldSubtitle( $article, &$oldid );
26 }
Page::Hook\DisplayOldSubtitleHook\onDisplayOldSubtitle
onDisplayOldSubtitle( $article, &$oldid)
This hook is called before creating subtitle when browsing old versions of an article.
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:49
Page::Hook\DisplayOldSubtitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DisplayOldSubtitleHook.php:14
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3