Page MenuHomePhabricator

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

Description

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

Details

Reference
bz51306

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:53 AM
bzimport set Reference to bz51306.

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.