Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4067732
PageHistoryBeforeListHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
PageHistoryBeforeListHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment