MediaWiki REL1_35
MediaWiki\Hook\PageHistoryBeforeListHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\PageHistoryBeforeListHook:

Public Member Functions

 onPageHistoryBeforeList ( $article, $context)
 This hook is called when a history page list is about to be constructed.
 

Detailed Description

Stable to implement.

Definition at line 12 of file PageHistoryBeforeListHook.php.

Member Function Documentation

◆ onPageHistoryBeforeList()

MediaWiki\Hook\PageHistoryBeforeListHook::onPageHistoryBeforeList (   $article,
  $context 
)

This hook is called when a history page list is about to be constructed.

Since
1.35
Parameters
Article$articleThe article that the history is loading for
IContextSource$context
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: