Page MenuHomePhabricator

Deprecate `SendWatchlistEmailNotification` hook
Closed, ResolvedPublic

Description

As ENotif uses the MediaWiki Notification system, we should deprecate this hook and let the Notification system handle.

Notes:

This hook is used by:

  • Echo extension to stop sending an email and triggers the Echo notification instead. This use case should be fully handled by Echo becoming a Notification Provider
  • BlueSpice is using SendWatchlistEmailNotification to remove watchlist notifications for entities. This should be solved by T387996

Details

Event Timeline

Blocked on T387996 - In order to deprecate hook we need to provide a replacement.

Change #1170568 had a related patch set uploaded (by Pmiazga; author: Pmiazga):

[mediawiki/core@master] Deprecate the SendWatchlistEmailNotification Hook

https://gerrit.wikimedia.org/r/1170568

Let's merge the Hook deprecation code (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1170568), and we can call this work done as BlueSpice is not a part of the WMF stack.

Change #1170568 merged by jenkins-bot:

[mediawiki/core@master] Deprecate the SendWatchlistEmailNotification Hook

https://gerrit.wikimedia.org/r/1170568