Page MenuHomePhabricator

Extract the Email composing logic from EmailNotification
Closed, ResolvedPublic

Description

Before migrating the ENotif into MediaWiki Notifications, we need a reusable service that can compose ENotif emails.

Refactor the EmailNotification class by extracting all Email composition/rendering into a separate component that later will be used both by the EmailNotification and the RecentChangeNotificationHandler to compose messages.

Event Timeline

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

[mediawiki/core@master] DNM: enotif: Extract email rendering logic

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

Change #1126584 merged by jenkins-bot:

[mediawiki/core@master] enotif: Extract email rendering logic

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

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

[mediawiki/core@master] enotif: when triggering notifications, pass watchlist type

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

Change #1132002 merged by jenkins-bot:

[mediawiki/core@master] enotif: when triggering notifications, pass watchlist type

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