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 (

Screen Shot 2018-10-16 at 11.15.00 AM.png (2×2 px, 970 KB)
). I've got references 6, 8, and 10. In edit mode (
Screen Shot 2018-10-16 at 11.16.36 AM.png (2×2 px, 955 KB)
) they became 5, 7, and 9. My hunch is visual editor is getting confused by the two different reflist groups.

Event Timeline

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:

Screen Shot 2018-10-16 at 11.35.14 AM.png (3×2 px, 1 MB)

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.