MediaWiki REL1_35
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.
 

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\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.


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