Page MenuHomePhabricator

Known issues with sub-references that use template generated main references e.g. from {{reflist}}
Closed, ResolvedPublic

Description

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

image.png (836×106 px, 12 KB)

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

Event Timeline

WMDE-Fisch renamed this task from Known issues with sub-references that use template generated main references to Known issues with sub-references that use template generated main references e.g. from {{reflist}}.Apr 20 2026, 4:00 PM
WMDE-Fisch updated the task description. (Show Details)
WMDE-Fisch added a project: Epic.

I think this epic is done. All linked tasks are resolved and in here there's no other blocker for a global rollout.