Page MenuHomeWickedGov Phorge

PageHistoryBeforeListHook.php
No OneTemporary

Size
703 B
Referenced Files
None
Subscribers
None

PageHistoryBeforeListHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Context\IContextSource;
use MediaWiki\Page\Article;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "PageHistoryBeforeList" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface PageHistoryBeforeListHook {
/**
* This hook is called when a history page list is about to be constructed.
*
* @since 1.35
*
* @param Article $article The article that the history is loading for
* @param IContextSource $context
* @return bool|void True or no return value to continue or false to abort
*/
public function onPageHistoryBeforeList( $article, $context );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 18:57 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/7a/2e4837f2dd37c75c1722babd2915
Default Alt Text
PageHistoryBeforeListHook.php (703 B)

Event Timeline