Page MenuHomePhabricator

VE: Allow adding a copy of a sub-ref using the reuse menu
Closed, ResolvedPublic

Description

User story:

As a VE user,
WHEN There's already a sub-reference
AND I use the reuse dialog to add a reuse of that sub-reference
THEN I see a duplicate of the sub-reference with identical content

Acceptance criteria:

GIVEN

<ref name="book">Miller</ref>
<ref details="page 1" name="book" />

WHEN I add a reuse of the sub-ref
AND I save the changes in VE
THEN a copy of the sub-ref will be created

<ref name="book">Miller</ref>
<ref name="book" details="page 1" />
<ref name="book" details="page 1" />

Current state

image.png (301×1 px, 35 KB)

Notes:

  • We currently merge the identical subrefs in VE. The solution should ideally disable that behavior for now.

Details

Related Changes in Gerrit:

Event Timeline

Change #1138993 had a related patch set uploaded (by Mareike Heuer; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] Allow subref creation in VE

https://gerrit.wikimedia.org/r/1138993

Change #1138993 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] Allow subref creation in VE

https://gerrit.wikimedia.org/r/1138993