Last modified: 2014-01-18 05:15:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62146, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60146 - 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
VisualEditor:"Cite error: <ref> tags exist, but no <references/> tag was foun...
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-16 20:00 UTC by Rummana Yasmeen
Modified: 2014-01-18 05:15 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
In edit source mode (13.56 KB, image/png)
2014-01-16 20:00 UTC, Rummana Yasmeen
Details
In Edit mode (36.65 KB, image/png)
2014-01-16 20:01 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-01-16 20:00:41 UTC
Created attachment 14326 [details]
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
Comment 1 Rummana Yasmeen 2014-01-16 20:01:24 UTC
Created attachment 14327 [details]
In Edit mode
Comment 2 James Forrester 2014-01-18 05:15:11 UTC
This is because the <references /> was before the <ref>.

Yay MediaWiki. :-(

Fixed: 

https://test2.wikipedia.org/w/index.php?title=Wmf11&oldid=71790

vs.

https://test2.wikipedia.org/w/index.php?title=Wmf11&oldid=71598

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links