Sub-referencing support for VisualEditor
Following the details syntax T385549: [Epic] Sub-referencing support for legacy parsing with `details` we want to implement a solution that can be used in VisualEditor.
Background:
This epic is done when the details attribute can be used to read, create, edit and delete sub-references in VisualEditor.
T387017: Show sub-references with details in VisualEditor
T389366: VE: Create subref reuses with copy and paste
T389098: VE correctly shows sub-refs when the main content is only referenced by name
T387847: Parsoid handles subref coming before its main ref
T389100: VE: Deleting main ref should not orphan existing sub-refs
T389108: When deleting a sub-ref VE removes the main ref if it's unused elsewhere
T387960: [Epic] Safely save pages with existing sub-references in visual editor
User stories:
- As VE user I want to be able to add new sub-references
- As VE user I want to be able to edit existing sub-references
- As VE user I want to be able to delete existing sub-references
- ...