MediaWiki
master
SendWatchlistEmailNotificationHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Mail\Hook
;
4
5
use
MediaWiki\RecentChanges\RecentChangeNotifier
;
6
use
MediaWiki\Title\Title
;
7
use
MediaWiki\User\User
;
8
16
interface
SendWatchlistEmailNotificationHook
{
28
public
function
onSendWatchlistEmailNotification
( $targetUser, $title, $enotif );
29
}
30
32
class_alias( SendWatchlistEmailNotificationHook::class,
'MediaWiki\\Hook\\SendWatchlistEmailNotificationHook'
);
MediaWiki\RecentChanges\RecentChangeNotifier
Find watchers and create notifications after a page is changed.
Definition
RecentChangeNotifier.php:41
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:69
MediaWiki\User\User
User class for the MediaWiki software.
Definition
User.php:108
MediaWiki\Mail\Hook\SendWatchlistEmailNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SendWatchlistEmailNotificationHook.php:16
MediaWiki\Mail\Hook\SendWatchlistEmailNotificationHook\onSendWatchlistEmailNotification
onSendWatchlistEmailNotification( $targetUser, $title, $enotif)
Use this hook to cancel watchlist email notifications (enotifwatchlist) for an edit.
MediaWiki\Mail\Hook
Definition
AbortTalkPageEmailNotificationHook.php:3
includes
Mail
Hook
SendWatchlistEmailNotificationHook.php
Generated on Mon Nov 17 2025 04:25:47 for MediaWiki by
1.10.0