MediaWiki  master
SendWatchlistEmailNotificationHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use Title;
7 use User;
8 
25  public function onSendWatchlistEmailNotification( $targetUser, $title, $enotif );
26 }
MediaWiki\Hook\SendWatchlistEmailNotificationHook\onSendWatchlistEmailNotification
onSendWatchlistEmailNotification( $targetUser, $title, $enotif)
Use this hook to cancel watchlist email notifications (enotifwatchlist) for an edit.
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\SendWatchlistEmailNotificationHook
Stable to implement.
Definition: SendWatchlistEmailNotificationHook.php:13
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41
EmailNotification
This module processes the email notifications when the current page is changed.
Definition: EmailNotification.php:48
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56