To help engineers and volunteers on migrating existing Echo notifications into the new system we should provide them a guide on how to migrate existing Notifications into the new system.
This documentation should contain information about:
- Migrate away from user locators, instead pass recipient under Event::RECIPIENTS_IDX when possible
- Migrate from Event::create() to new NotificationsService::notify()
- Migrate away from Hooks to Middleware
Note: Middleware interface is still being discussed: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1125174