MediaWiki  master
MediaWiki\Hook\BeforeResetNotificationTimestampHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\BeforeResetNotificationTimestampHook:

Public Member Functions

 onBeforeResetNotificationTimestamp (&$userObj, &$titleObj, $force, &$oldid)
 This hook is called before the notification timestamp of a watched item is reset. More...
 

Detailed Description

Stable to implement.

Definition at line 12 of file BeforeResetNotificationTimestampHook.php.

Member Function Documentation

◆ onBeforeResetNotificationTimestamp()

MediaWiki\Hook\BeforeResetNotificationTimestampHook::onBeforeResetNotificationTimestamp ( $userObj,
$titleObj,
  $force,
$oldid 
)

This hook is called before the notification timestamp of a watched item is reset.

Since
1.35
Parameters
User&$userObj
Title&$titleObj
string$forceIf this is the string "force", then the reset will be done even if the page is not watched
int&$oldidRevision ID
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: