MediaWiki REL1_35
MediaWiki\Hook\AbortEmailNotificationHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 13 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: