Page MenuHomePhabricator

VisualEditor: Make references visible for re-use when they're 'hidden' inside templates, e.g., list-defined refs in the reflist template
Closed, InvalidPublic

Description

This is related to Bug 57209.

List-defined references (https://en.wikipedia.org/wiki/Wikipedia:LDR#WP:LDR) are listed in the {{reflist}} template rather than in the regular text of the page. References that are defined inside the {{reflist}} are not visible when you try to re-use an existing reference.

Steps to reproduce:

  1. Open a page that uses list-defined references with the {{reflist}} template (rather than <references></ref>).
  1. Go to Insert > Reference to add a new reference. Click "Re-use existing reference".
  1. Discover that the numbers ("[1]") and ref names are visible, but the contents are not.

This problem does not exist if the non-template method is used. This problem also exists for refs inside blockquotes, infoboxes, and other templates.


Version: unspecified
Severity: normal

Details

Reference
bz61777

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:02 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz61777.

Not possible without re-writing the Cite extension from scratch, which is sort-of planned but won't be done before 2015 at the earliest. Marking as "INVALID", but it's mostly a "can't fix".