Last modified: 2014-11-10 18:02: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 T75230, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73230 - VisualEditor:[Regression wmf7] Invalid characters as gallery caption, creates an empty node.
VisualEditor:[Regression wmf7] Invalid characters as gallery caption, creates...
Status: NEW
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All Windows XP
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-10 17:40 UTC by Ritu Swain
Modified: 2014-11-10 18:02 UTC (History)
7 users (show)

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


Attachments
screenshot (46.72 KB, image/png)
2014-11-10 17:40 UTC, Ritu Swain
Details

Description Ritu Swain 2014-11-10 17:40:05 UTC
Created attachment 17085 [details]
screenshot

Environment- test2, beta

1> insert Gallery, with any caption.For ex- “caption 1”
2> Click on the gallery context menu and open the gallery inspector again.Delete the caption and enter in some invalid characters like “>>”.
3> Notice that although nothing gets added to the editor visually (an empty node is created), the Gallery context menu can be seen down below the screen and the Gallery inspector in the tools list is also selected.
See screenshot.
Comment 1 Ritu Swain 2014-11-10 17:40:54 UTC
Also found in FF 33.1.
Comment 2 etonkovidova 2014-11-10 18:02:11 UTC
Confirmed. 

In addition to the scenario described abotve: 

If ">>" is entered  - the gallery will be saved as 

<gallery>
>>
</gallery>  


If, say, "caption", will be surrounded with << and >>, then the inserted Gallery becomes invisible, but in Edit source it will be: 

<gallery>
<<Caption>>
</gallery>

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


Navigation
Links