Page MenuHomePhabricator

[Refactor] Decouple Cite change propagation from internallist
Open, Needs TriagePublic

Description

Currently, ref components subscribe to the internalList, listening to events that relate to changed refs. In order to deprecate internalList, we need to rewrite this functionality. The basic idea is a good one, we should continue to have a singleton observer which processes document change events, filters to a subset of changes which affect refs, and summarizes in a way that is actionable for all subscribers.

TODO: We haven't decided where this observer should live, what is responsible for creating it, how the other models discover it...

WIP code: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cite/+/997915