We need to support <gallery> tags with something nicer than a tiny inspector for editing wikitext.
- Assigned To
- T13500: Rearranging the order of image (link)s in galleries via drag and drop (AJAXy)
T93407: <gallery> issues (tracking)
- Blocked By
- T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page
- Trizek-WMF, Jdforrester-WMF, Elitre and 10 others
<< I know there's a lot of new gallery functionality coming in (which looks amazing!), so I'd understand if support is waiting for that, but at the moment, galleries are completely uneditable.
Basic functionality I'd expect might include:
Dragging images to different parts of the gallery, preferably by a simple click and drag.
Adding and removing images
If moving images is as easy as dragging them into position, adding images can probably reasonably add to the end. To allow the gallery itself to be moved, I'd suggest that clicking on the gallery adds a bar at the top (only while it remains the focus, of course), labelled something like "click and drag here to move gallery". (If that's unclear, I could make a mockup), plus a dropdown box for any other actions that might be needed, sort of like the top of a Windows, well, window. One thing VE currently doesn't do enough of is temporarily tweaking the display of an element being edited to make it easier to interact with for editing, but I don't see a way to get the intuitive editing you're looking for without some movement towards that. Adam Cuerden (talk) 22:40, 13 August 2013 (UTC) >>
fwiw today I edited a gallery for the first time and the result was really bad:
- I could actually edit the wikitext directly. This is good, but not if the functionality is not ready.
- I got a tiny window to modify wikitext. Lines of galleries might be long when they include captions, so a bigger window would be nicer.
- After editing I couldn't Save directly. I had to deduce that the [back] "<" icon had to be clicked first. Mmmm ok, I guessed it. Fine with me, but I'm not sure about your average editor.
- The changes appeared instantly in the gallery. That was nice!
- Save and...
All the gallery converted in a div and injected as such. MediaWiki probably not knowing what to do with this? Result: gallery not visible anymore. Undo changes.