Page MenuHomePhabricator

a couple of bad images on wa.wikipedia.org
Closed, ResolvedPublic

Description

Author: plugwash

Description:
there are two nasty entries on

http://wa.wikipedia.org/w/index.php?title=Sipeci%C3%A5s:Unusedimages&limit=500&offset=0

i heared about theese in MediaWiki-General on irc

the one currently at position 253 has a name that contains a single byte with a
value above $7F which is not valid utf-8 this was apparently created by
uploading from a windows 95 box the image is actually there but the image
description page link gives a bad name error.

i don't have win95 handy to test with. i tried and failed to reproduce this with
win98 second edition (with the supplied version of IE5 this is the oldest
version i have handy) and a local 1.4 test wiki

the one currently at position 256 has a totally blank name clicking on the dirct
image link gives a forbidden page from the uploads webserver. clicking the
description page gives a bad url error. This one was apparently created by
clicking upload without selecting a file.

i tired to reproduce this with a local 1.4 test wiki and just got an empty file
error

someone needs to clean up theese existing ghost images and make sure there are
sufficiant utf-8 paranoia checks that similar issues can't happen again.


Version: unspecified
Severity: normal
OS: other
Platform: PC

Details

Reference
bz1776

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:18 PM
bzimport set Reference to bz1776.
bzimport added a subscriber: Unknown Object (MLST).

These are due to old MediaWiki 1.3 bugs, so you shouldn't be able to reproduce the problem with new uploads in
1.4.

The first one was also uploaded as http://wa.wikipedia.org/wiki/Imådje:Rou-dle-miroe.jpg , looks like the same
file. I've removed the bogus record with the bad name as it's redundant.

The second one I've also removed. Empty name records were generally due to submitting the form with a bad local
file reference so there was no file.

Diffusion added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:15 AM