Page MenuHomePhabricator

VisualEditor: Reference lists should update more intelligently (i.e. less often)
Open, MediumPublic

Description

Currently a reference list (<references /> in wikitext) complete redraws every time an InternalItemNode is touched by a transaction. This is inefficient because:

  • Reference lists can be grouped, so a change to one InternalItemNode may not affect that reference list at all.
  • Changes to IternalItemNodes shouldn't change the ordering of the list, or any items not touched by the transaction, so we only need to selectively update the items in the list which have changed.

Details

Reference
bz49092