MediaWiki  master
MediaWiki\Hook\SendWatchlistEmailNotificationHook Interface Reference

Stable to implement. 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. More...
 

Detailed Description

Stable to implement.

Definition at line 13 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: