Page MenuHomePhabricator

VE: Grouped list defined references are not editable when missing the attribute
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue:
  • Create a page with the following Wikitext
<ref name="ldr" group="notes" />

<references group="notes">
<ref name="ldr">Foo</ref>
</references>
  • Open VisualEditor
What happens?:
  • VisualEditor does not display the ref correctly it just shows the content as missing see

image.png (116×905 px, 13 KB)

  • VisualEditor does not allow users to edit the ref
What should have happened instead?:
  • VisualEditor should show the content and allow users to edit
Notes:

Parsoid and the legacy parser render the Wikitext correctly and put the content of the ref into the grouped references section.

Details

Event Timeline

Change #1173428 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Generated test for list-defined ref

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