MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onOutputPageCheckLastModified (&$modifiedTimes, $out) | |
This hook is called when checking if the page has been modified since the last visit. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "OutputPageCheckLastModified" to register handlers implementing this interface.
Definition at line 14 of file OutputPageCheckLastModifiedHook.php.
MediaWiki\Hook\OutputPageCheckLastModifiedHook::onOutputPageCheckLastModified | ( | & | $modifiedTimes, |
$out | |||
) |
This hook is called when checking if the page has been modified since the last visit.
string[] | &$modifiedTimes | Array of timestamps. The following keys are set: page, user, epoch. |
OutputPage | $out | since 1.28 |
Implemented in MediaWiki\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.