Last modified: 2014-05-07 22:08:21 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 T67022, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65022 - VisualEditor: If you insert a gallery into a list, the list formatting remains visible but is removed in wikitext
VisualEditor: If you insert a gallery into a list, the list formatting remai...
Status: NEW
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
http://en.wikipedia.beta.wmflabs.org/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-07 21:18 UTC by WhatamIdoing
Modified: 2014-05-07 22:08 UTC (History)
3 users (show)

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


Attachments

Description WhatamIdoing 2014-05-07 21:18:13 UTC
Intention:
Add an image gallery at the top of a section.

Steps to Reproduce:
1. Open a page that has a list at the top of the section.  

2. Place your cursor at the top of the list, and Insert > Gallery.


Actual Results:  
The bullet remains visible.  The text of the list item is on the next line, but indented.

However, when you save, the list formatting (the asterisk at the start of the line) has been removed.

Expected Results:  
The gallery would be inserted before the list.  That is,

* List item

would turn into 

<gallery>File:Example.jpg
File:Example2.jpg</gallery>

* List item

instead of into

 <gallery>File:Example.jpg
File:Example2.jpg</gallery>List item

(Notice the stray space at the start of the line.)

Reproducible: Always
Comment 1 WhatamIdoing 2014-05-07 22:08:21 UTC
This sort of happens if you insert a references list, which gives you this:

* 
<references />List item


but not for images, math, templates, etc.

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


Navigation
Links