Last modified: 2014-11-20 00:09:58 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 T75368, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73368 - VisualEditor: [Regression] Gallery gets added into media, if there is/was something in the media's caption
VisualEditor: [Regression] Gallery gets added into media, if there is/was som...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2014-11-19 (1.25wmf9)
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-13 14:53 UTC by Ritu Swain
Modified: 2014-11-20 00:09 UTC (History)
9 users (show)

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


Attachments
Gallery with caption gets added to the table inside the image (17.47 KB, image/png)
2014-11-13 14:53 UTC, Ritu Swain
Details

Description Ritu Swain 2014-11-13 14:53:14 UTC
Created attachment 17115 [details]
Gallery with caption gets added to the table inside the image

Environment- test2, beta, production

1> Insert -> media 
2> insert a table in the caption sub- editor of Media Settings.Click to insert to the main editor.
2> Highlight the media, insert a gallery with just caption(no filename).
3> Now drag and drop the gallery on to the table inside the image. Notice the gallery gets added to the table inside the image.
4> click on the image’s context menu to go to media settings, notice the gallery shows up in the caption pane.See screenshot.
Comment 1 Ritu Swain 2014-11-13 14:54:08 UTC
Also in FF 33.1.
Comment 2 etonkovidova 2014-11-13 23:04:02 UTC
In addition to bug 73341 - should tables be allowed for insertion in Media settings?
Comment 3 Ritu Swain 2014-11-14 16:40:59 UTC
Gallery(with just caption) can be added to a table in the main editor.
Gallery cannot be added to an image otherwise and is also not available as an insert sub menu option in the media settings toolbar .But if the image has a table it gets added to it.
Comment 4 Ed Sanders 2014-11-14 19:44:58 UTC
Tables inside captions are okay. They probably shouldn't be encouraged but in the cases where they exist, we need to provide the tools to edit them.
Comment 5 etonkovidova 2014-11-14 22:07:10 UTC
Yes, I checked the functionality of inserted tables - all is fine(a tiny bug 73435 was filed). 

Btw, Gallery can be dragged to a Media's Caption.
Comment 6 Ritu Swain 2014-11-15 16:30:39 UTC
(In reply to etonkovidova from comment #5)
> Yes, I checked the functionality of inserted tables - all is fine(a tiny bug
> 73435 was filed). 
> 
> Btw, Gallery can be dragged to a Media's Caption.
yes, if there is something in the media's caption(not just tables even plain text)the gallery gets added to the media's caption.

or

if you had something in the media caption and you deleted it.And then if you drag a gallery to the media's caption part it gets added.

steps- 
1> go to media settings dialog. 
2> type in some text in the caption pane,and apply changes.
3> insert a gallery.
4> reopen the media settings dialog and delete the caption you put in, at step#2.
5> now drag the gallery to where the media's caption was. Notice a line is gets drawn and the gallery gets added.
Comment 7 Ed Sanders 2014-11-16 16:29:54 UTC
Step 3 should not be possible and is fixed by https://gerrit.wikimedia.org/r/#/c/173442/
Comment 8 Gerrit Notification Bot 2014-11-17 20:13:12 UTC
Change 173442 had a related patch set uploaded by Catrope:
Don't allow dropping inside a handlesOwnChildren node

https://gerrit.wikimedia.org/r/173442
Comment 9 Gerrit Notification Bot 2014-11-17 20:42:11 UTC
Change 173442 merged by jenkins-bot:
Don't allow dropping inside a handlesOwnChildren node

https://gerrit.wikimedia.org/r/173442
Comment 10 etonkovidova 2014-11-17 22:15:01 UTC
Verified the fix in betalabs.
Comment 11 etonkovidova 2014-11-20 00:09:58 UTC
Verified the fix in test2.

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


Navigation
Links