Page MenuHomePhabricator

VisualEditor:"Cite error: <ref> tags exist, but no <references/> tag was found " after adding a reference in the caption of an image although there was <references/> tag
Closed, InvalidPublic

Description

In edit source mode

Steps to reproduce:

1.Open a page with VE which has some references and <references/> tag added
2.Add an image in the page
3.Go to media settings and add a caption with reference inside it
4.Save the page

Observed Result:
An error appears in the read mode :"Cite error: <ref> tags exist, but no <references/> tag was found "

Also in the resulting wikitext, the reference inside image did not get added in the <references/> section

Although if you go to Edit mode the reference inside the image is correctly showing up in the <references/> tag.

Test Environment: https://test2.wikipedia.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Sample Page:https://test2.wikipedia.org/wiki/Wmf11

See the screenshot attached


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-01-16_at_12.00.08_PM.png (150×195 px, 13 KB)

Details

Reference
bz60146