Page MenuHomePhabricator

Gallery tool adds undocumented "classes" parameter
Closed, ResolvedPublic1 Estimated Story Points


Steps to reproduce:

<gallery mode="packed" class="center">
  1. Put a gallery like the above into a page.
  2. Save the page, and edit the page with the visual editor
  3. Click on the gallery you have added
  4. Flick to the "Options" tab and note the contents of the "Classes" field.
  5. (Make any change to the page so you can save the page.)
  6. Check the diff of the page.


It adds a redundant, undocumented "classes=" parameter: <gallery mode="packed" class="center" classes="center">

This bug originally reported by @BurritoBazooka

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.
Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF added subscribers: Tchanders, Esanders.

Change 325098 had a related patch set uploaded (by Tchanders):
Correct class/classes typo in gallery dialog

Change 325098 merged by jenkins-bot:
Correct class/classes typo in gallery dialog