Thread:Talk:Echo (Notifications)/Registration with central service/reply (3)

Excellent point!

We can avoid pre-registering objects in notifications if we adopt some variant of Wikia's solution to notifications.

Currently Wikia houses their notification counts in a central service, however when it comes to rendering them (which occurs on click of the notifications count), only in-wiki notifications are displayed (links to the other wikis with unread notifications are displayed with the counts only).

In Echo, since the wiki id is along for the ride on the messages, we can store some work in the local wiki without requiring the register any handlers to the central service. Instead, we change it so that Echo, in the process of working, Echo should make an API calls into the originating wiki to get lists of subscribers and to format notifications for delivery (different wikis will have different extensions, and thus notifications, active).

To Echo, nothing would need to be registered. It just receives the notification, and queries originating wiki during queue processing.