MediaWiki  master
MediaWiki\Hook\PageHistoryBeforeListHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "PageHistoryBeforeList" to register handlers implementing this interface.

Stable to implement

Definition at line 15 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: