MediaWiki  master
PageHistoryBeforeListHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Article;
7 
25  public function onPageHistoryBeforeList( $article, $context );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\PageHistoryBeforeListHook\onPageHistoryBeforeList
onPageHistoryBeforeList( $article, $context)
This hook is called when a history page list is about to be constructed.
MediaWiki\Hook\PageHistoryBeforeListHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageHistoryBeforeListHook.php:15
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:55
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:47
MediaWiki\$context
IContextSource $context
Definition: MediaWiki.php:40