MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onBeforeResetNotificationTimestamp (&$userObj, &$titleObj, $force, &$oldid) | |
This hook is called before the notification timestamp of a watched item is reset. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BeforeResetNotificationTimestamp" to register handlers implementing this interface.
Definition at line 15 of file BeforeResetNotificationTimestampHook.php.
MediaWiki\Hook\BeforeResetNotificationTimestampHook::onBeforeResetNotificationTimestamp | ( | & | $userObj, |
& | $titleObj, | ||
$force, | |||
& | $oldid | ||
) |
This hook is called before the notification timestamp of a watched item is reset.
User | &$userObj | |
Title | &$titleObj | |
string | $force | If this is the string "force", then the reset will be done even if the page is not watched |
int | &$oldid | Revision ID |
Implemented in MediaWiki\HookContainer\HookRunner.