Last modified: 2014-07-08 20:19:39 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 T63564, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61564 - VisualEditor: Don't allow users to insert images inside images' captions inside images' captions, as MediaWiki can't cope with that
VisualEditor: Don't allow users to insert images inside images' captions insi...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-mediasupport
  Show dependency treegraph
 
Reported: 2014-02-19 22:55 UTC by Rummana Yasmeen
Modified: 2014-07-08 20:19 UTC (History)
6 users (show)

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


Attachments
Screenshot (32.85 KB, image/png)
2014-02-19 22:55 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-02-19 22:55:53 UTC
Created attachment 14629 [details]
Screenshot

Steps to reproduce:


1.Open a page with VE
2.Insert an image
3.Go to Media Settings of that image and add another image inside it
4.Now Go to the media settings of the image that you just added
5.Type something in the caption of the second image
6.Apply changes
7.Save the page

Observed Result:
The wiki text for the image shows up in the read mode

See the screenshot attached

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser:  FF 25
OS: MAC OS X 10. 8. 5 
Page:http://en.wikipedia.beta.wmflabs.org/wiki/19thfebFF
Comment 1 WhatamIdoing 2014-03-05 22:49:57 UTC
I can't make three-deep nested images work in wikitext.

Three deep (image1's caption contains image2, and image2's caption contains image3) causes this problem if done in VisualEditor:  
http://en.wikipedia.beta.wmflabs.org/w/index.php?&oldid=82440  It displays correctly in VisualEditor, but makes a mess when you save.

Two deep in wikitext displays correctly:  https://en.wikipedia.org/w/index.php?&oldid=598318957#List

Three deep in wikitext shows me only the first image.  The other two in my (unsaved) attempts simply disappeared from view (although present in the wikitext code).

It's possible that I simply haven't found the perfect sequence of nesting the images, but if wikitext can't handle more than two in a nested sequence, the VisualEditor shouldn't offer it.

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


Navigation
Links