MediaWiki
master
PageHistoryBeforeListHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Actions\Hook
;
4
5
use
MediaWiki\Context\IContextSource
;
6
use
MediaWiki\Page\Article
;
7
15
interface
PageHistoryBeforeListHook
{
25
public
function
onPageHistoryBeforeList
( $article, $context );
26
}
27
29
class_alias( PageHistoryBeforeListHook::class,
'MediaWiki\\Hook\\PageHistoryBeforeListHook'
);
MediaWiki\Page\Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:65
MediaWiki\Actions\Hook\PageHistoryBeforeListHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageHistoryBeforeListHook.php:15
MediaWiki\Actions\Hook\PageHistoryBeforeListHook\onPageHistoryBeforeList
onPageHistoryBeforeList( $article, $context)
This hook is called when a history page list is about to be constructed.
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:57
MediaWiki\Actions\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Actions
Hook
PageHistoryBeforeListHook.php
Generated on Wed Apr 22 2026 04:23:17 for MediaWiki by
1.10.0