Last modified: 2013-04-22 16:15:30 UTC
Created attachment 10484 [details] error screen Hi. I try to upload a photo, and after the "Describe" step, when I push the button to finish, it appears this message Auditorio_de_Tenerife.JPG Unknown warning: "exists-normalized". None of the uploads were successful. Thanks
I guess that a file with the same name already exists, hence the problem. See http://commons.wikimedia.org/wiki/File:Auditorio_de_Tenerife.jpg However the warning could have a clearer wording. If I had rights to edit the bug summary I would add "Unknown warning: "exists-normalized"." to it. :)
Marking as new.
Changing severity. Please see http://www.mediawiki.org/wiki/Bug_management/Bugzilla_usage#Severity.
It looks like the only difference between 'exists' and 'exists-normalized' is that we had to change the case of the file extension to find the existing file. We should be able to just add the different string in an or clause in an if statement and be done with it. On it now.
Actually, I wasn't able to reproduce this bug, at least not by just changing the case of the filename's various parts. Is there anythings else that's special about this filename that might be causing problems? Were there special characters in it?
I spoke too soon! This happens any time you upload a file named <something>.JPEG and <something>.jpg already exists. That's sort of a strange feature, but I suppose it makes sense on some level. Anyway, this patch surfaces the error to the user as if it were a normal 'exists' warning: https://gerrit.wikimedia.org/r/9420
Hi! Recently, a patch to MediaWiki core [0] changed the behavior of API warnings. We now get those at the first step, even if we don't handle them necessarily. Could you try to reproduce this bug, and let us know if it still occurs? If so, the solution would likely be very different from before this patch. [0] https://gerrit.wikimedia.org/r/#/c/9261/ Thanks!
Created attachment 11003 [details] screenshot of current situation I got this screen now. Seems proper right ?
Created attachment 11005 [details] result of exists-normalized Correction, tested on an actual exists-normalized warning in the details step now. I had a 'Hav you seen.PNG' and tried to upload a .png to 'Hav you seen.png' and received the following feedback.
This is not related to 'exists normalized' in the Upload step, which is bug 30625.