azatoth/twinkle — Issue #84: Delink batch doesn't work where file name has apostrophe in it
Author: Magog-the-Ogre
Created: 2012-02-24 22:28:21+00:00
State: open

*Background: Reported once before at http://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle/Archive_28#Bug_in_filenames_with_apostraphe
(where I forgot about the thread)

Browser: Chrome 64 for Ubuntu, v. 17 (although it has also occurred in older releases)

To reproduce: Go to http://en.wikipedia.org/wiki/Category:Wikipedia_files_reviewed_on_Wikimedia_Commons_by_Magog_the_Ogre. You will notice that it has one category member: Grim's Ditch Hailey.JPG. Click on delink-batch, and choose to delete the file.

What happens: The browser tab will go into an infinite loop and eventually freeze.

Expected result: image is deleted.

Further information: this happens with any and all files with an apostrophe in them. Depending on how far down the list the image with an apostrophe is, the Twinkle AJAX window may simply state that the file doesn't exist, rather than freezing altogether. Whatever the case is, there is clearly a bug regarding file names with an apostrophe.