Page MenuHomePhabricator

VisualEditor: When adding a reference, and a reference in a caption, in the same edit, then the ref in the caption is changed to the ref from the text
Open, LowestPublic

Description

Author: Wikifram

Description:
When I edit a page, and add a reference to the text and a different reference to an image caption, all in one edit, then the reference text for the image caption is not saved but gets changed to the reference text from the text (this already happens in the preview). You now get two references with the same text, even though you gave them a different text.

Example: [https://www.mediawiki.org/w/index.php?title=User%3AFram%2FSandbox&diff=840234&oldid=840227] (the image caption ref had a different text on typing)


Version: unspecified
Severity: normal

Details

Reference
bz58322

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:42 AM
bzimport set Reference to bz58322.

Change 102386 had a related patch set uploaded by Aquifacae:
Changed wiktionary/en.ico favicon to proper image and resolutions

https://gerrit.wikimedia.org/r/102386

I can reproduce this issue.

See also bug 60919?

The key bug here is bug 47344, about using sub-documents instead of the current hack. This would affect media captions and references, and possibly other things.

Deskana lowered the priority of this task from Normal to Lowest.Apr 12 2018, 4:23 PM