Page MenuHomePhabricator

VisualEditor: Templated calls to <references /> (e.g. enwiki's {{reflist}}) don't get updated whilst the user is editing
Closed, DuplicatePublic


Twice I have added a bare URL as a reference to [[Paul Robert Magocsi]], which results in the [4] and [5] being added to the right spot in the text,

but ..

The references section at the bottom did not display the reference.

Steps to reproduce:

  1. Click add reference button
  2. Paste in URL
  3. Click 'Create new source'
  4. Click 'Insert reference'

(Reference dialog appears)

  1. Click 'Apply changes'
  2. View the references list at bottom of article

Expected results:
the new reference is listed

Actual results:
The added reference was not visible.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz51306.
jayvdb created this task.Jul 14 2013, 2:59 AM

Re-titling; the problem is that VisualEditor has no idea that the block of content it's been handed by Parsoid happens to contain a <references /> call, and neither does Parsoid unless it re-parses it.

Consequently, we are expanding the syntax for <references /> to make {{reflist}} unnecessary. WONTFIXing this bug.