Page MenuHomePhabricator

Gallery tool is unhappy when there is no File: name in front of the files' names.
Closed, ResolvedPublic1 Estimated Story Points

Description

This handy screenshot is courtesy @MusikAnimal, who clicked on the Edit button for the gallery in https://meta.wikimedia.org/w/index.php?oldid=16093552 and discovered that everything had crashed.

The relevant bit of wikitext said:

<gallery widths="35">
Edit icon.svg|Normal edit
RevertPencil icon.svg|For reverting an edit
AddImage icon.svg|Icon for creating a file
TemplateAdd.svg|Icon for creating a template
Trash icon.svg|For deleting a page
Untrash icon.svg|For restoring a page
RibbonPrize.svg|Icon for marking an article or image as "Featured"
Locked icon.svg|For protecting/locking a page
Unlock icon.svg|For unprotecting/unlocking a page
AddSpeechbubble icon.svg|For starting a discussion
Speechbubbles icon.svg|For replying to a comment
Translation icon.svg|For translating an article
</gallery>

Reported in Chrome 54.0.2840.71 on Mac OS X 10.11.6 and reproduced in Chrome 57.0.2926.0 canary

Screen Shot 2016-11-21 at 4.33.22 PM.png (612×1 px, 224 KB)