Manual:Hooks/AbortTalkPageEmailNotification/pl

This hook allows extensions to disable the regular talk page email notifications.

For example, Extension:Echo does this because it creates a new system of notifications (including to send an email, if the user desires, which would otherwise result in more than one email notification).

Parametry
Handlers of this hook receive two parameters: This is equivalent to
 * User  The user who's talk page is being edited, to whom the notification will be sent.
 * Title  The Title of the talk page.

Return values
Handlers of this hook should return:
 * to disable the built-in email notification; or
 * to enable it.