MediaWiki  master
MediaWiki\Hook\OutputPageCheckLastModifiedHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\OutputPageCheckLastModifiedHook:

Public Member Functions

 onOutputPageCheckLastModified (&$modifiedTimes, $out)
 This hook is called when checking if the page has been modified since the last visit. More...
 

Detailed Description

Stable to implement.

Definition at line 11 of file OutputPageCheckLastModifiedHook.php.

Member Function Documentation

◆ onOutputPageCheckLastModified()

MediaWiki\Hook\OutputPageCheckLastModifiedHook::onOutputPageCheckLastModified ( $modifiedTimes,
  $out 
)

This hook is called when checking if the page has been modified since the last visit.

Since
1.35
Parameters
string[]&$modifiedTimesArray of timestamps. The following keys are set: page, user, epoch.
OutputPage$outsince 1.28
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner, and MediaWiki\Api\ApiHookRunner.


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