MediaWiki REL1_39
MediaWiki\Hook\SendWatchlistEmailNotificationHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SendWatchlistEmailNotificationHook:

Public Member Functions

 onSendWatchlistEmailNotification ( $targetUser, $title, $enotif)
 Use this hook to cancel watchlist email notifications (enotifwatchlist) for an edit.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SendWatchlistEmailNotification" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file SendWatchlistEmailNotificationHook.php.

Member Function Documentation

◆ onSendWatchlistEmailNotification()

MediaWiki\Hook\SendWatchlistEmailNotificationHook::onSendWatchlistEmailNotification ( $targetUser,
$title,
$enotif )

Use this hook to cancel watchlist email notifications (enotifwatchlist) for an edit.

Since
1.35
Parameters
User$targetUserUser whom to send watchlist email notification
Title$titlePage title
EmailNotification$enotif
Returns
bool|void True or no return value to send watchlist email notification, or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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