Page MenuHomePhabricator

References get renumbered when editing
Closed, DuplicatePublic

Description

See https://en.wikipedia.org/w/index.php?title=Margaret_Sibella_Brown&oldid=864333182

In normal view (

). I've got references 6, 8, and 10. In edit mode (
) they became 5, 7, and 9. My hunch is visual editor is getting confused by the two different reflist groups.

Event Timeline

RoySmith created this task.Oct 16 2018, 3:18 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 16 2018, 3:18 PM

Just to clarify, the references get renumbered in the body text, but they retain the original numbering in the reflist. This makes it really confusing to edit the references.

Oh, wait, it's even weirder than that. See the third screenshot:

There's two different sources that are both referenced as "5" in the body text!

The last sentence of the lead section comes from a template, including the reference, and I think there already is a task about references from templates missing in VE, though I currently can't find it.