Context
This ticket is meant as an umbrella for the know issues about sub-refs Cite (Sub-referencing) that refer to main content defined in templates. This also affects references defined in a `{{reflist}} template.
Known issues
Wikitext
<ref name="book" details="page 1" />
{{reflist | refs=<ref name="book">Miller</ref>}}The main content can not be displayed
Wikitext when saving
<ref name="book" details="page 1">page 1</ref>
{{reflist | refs=<ref name="book">Miller</ref>}}Tickets
T422063: Creating a sub-reference in VisualEditor leads to sub-ref details saved as main ref content if the main ref is defined within a template
T419035: VE tries to copy content to a sub-ref if the main ref is defined within a template – but delivers broken wikitext if the main ref uses a template
T412007: VE unexpectedly copies reference content from one sub-ref to another if the main ref is defined within a template
