Debian Codegraph @

includes/recentchanges/Hook/AbortEmailNotificationHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 use MediaWiki\Title\Title;
6 use MediaWiki\User\User;
7 use RecentChange;
8
9 /**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "AbortEmailNotification" to register handlers implementing this interface.
12 *
13 * @stable to implement
14 * @ingroup Hooks
15 */
16 interface AbortEmailNotificationHook {
17 /**
18 * Use this hook to cancel email notifications for an edit.
19 *
20 * @since 1.35
21 *
22 * @param User $editor User who made the change
23 * @param Title $title Title of the page that was edited
24 * @param RecentChange $rc Current RecentChange object
25 * @return bool|void True or no return value to continue or false to abort
26 */
27 public function onAbortEmailNotification( $editor, $title, $rc );
28 }