Page MenuHomePhabricator

Translate should use NotificationMiddleware instead of AbortEmailNotification hook
Closed, ResolvedPublic1 Estimated Story Points

Description

The translate extension uses AbortEmailNotification, which removes Watchlist notifications from Translate.

Instead of using AbortEmailNotification it should use the introduced Middleware pattern that will allow filtering notifications.

Event Timeline

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

[mediawiki/extensions/Translate@master] Use middleware instead of AbortEmailNotification hook

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

pmiazga renamed this task from HOLD: Translate should use NotificationMiddleware instead of AbortEmailNotification hook to Translate should use NotificationMiddleware instead of AbortEmailNotification hook.May 27 2025, 4:43 PM
abi_ triaged this task as Medium priority.Jun 9 2025, 10:34 AM
abi_ set the point value for this task to 1.

Change #1138814 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Use middleware instead of AbortEmailNotification hook

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

abi_ subscribed.

This change has been deployed and tested on translatewiki.net. I've reviewing a bunch of translations, but haven't received any notification.

Change #1171266 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/Translate@master] Revert "Use middleware instead of AbortEmailNotification hook"

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

Change #1171266 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Revert "Use middleware instead of AbortEmailNotification hook"

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

Change #1169240 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/Translate@master] Re-apply "Use middleware instead of AbortEmailNotification hook"

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

Change #1169240 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Re-apply "Use middleware instead of AbortEmailNotification hook"

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