MediaWiki REL1_37
MediaWiki\Hook\AbortEmailNotificationHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\AbortEmailNotificationHook:

Public Member Functions

 onAbortEmailNotification ( $editor, $title, $rc)
 Use this hook to cancel email notifications for an edit.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "AbortEmailNotification" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file AbortEmailNotificationHook.php.

Member Function Documentation

◆ onAbortEmailNotification()

MediaWiki\Hook\AbortEmailNotificationHook::onAbortEmailNotification (   $editor,
  $title,
  $rc 
)

Use this hook to cancel email notifications for an edit.

Since
1.35
Parameters
User$editorUser who made the change
Title$titleTitle of the page that was edited
RecentChange$rcCurrent RecentChange object
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: