MediaWiki
master
SendWatchlistEmailNotificationHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
EmailNotification
;
6
use
MediaWiki\Title\Title
;
7
use
MediaWiki\User\User
;
8
16
interface
SendWatchlistEmailNotificationHook
{
28
public
function
onSendWatchlistEmailNotification
( $targetUser, $title, $enotif );
29
}
EmailNotification
Find watchers and create email notifications after a page is changed.
Definition
EmailNotification.php:61
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
User class for the MediaWiki software.
Definition
User.php:119
MediaWiki\Hook\SendWatchlistEmailNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SendWatchlistEmailNotificationHook.php:16
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
includes
mail
Hook
SendWatchlistEmailNotificationHook.php
Generated on Mon Feb 10 2025 09:24:40 for MediaWiki by
1.10.0