Last modified: 2014-07-02 20:50:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69197, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67197 - If one attempts a file upload in Commons, and the file name has unacceptable characters, there is an upload failure but no appropriate error message indicting why.
If one attempts a file upload in Commons, and the file name has unacceptable ...
Status: RESOLVED DUPLICATE of bug 66366
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-27 14:26 UTC by Lane Rasberry
Modified: 2014-07-02 20:50 UTC (History)
3 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lane Rasberry 2014-06-27 14:26:06 UTC
Intention:
upload a file to Wikimedia Commons, as usual

Steps to Reproduce:
1. have an image with a filename with odd, unacceptable characters
2. try to upload, perhaps with the upload wizard


Actual Results:  
The file failed to upload, and a generic error message was given.

Expected Results:  
I expected that the error message would say "Please change the file name to not include these forbidden characters", or even better, accept the file but change the file name automatically.

Reproducible: Didn't try
Comment 1 Andre Klapper 2014-06-30 11:20:48 UTC
Hi Lane! Thanks for taking the time to report this!

Could you please provide exact steps to reproduce that anybody else could follow to reproduce, without having to interpret much? Currently I'd have to guess which way to upload you took, and what "odd characters" are...
Comment 2 Lane Rasberry 2014-06-30 14:53:38 UTC
Hello!

I live in the United States and use a standard English keyboard. Replicate this as follows:
1. Create an image
2. Give it a filename conaining every non-alphanumeric symbol (everything which is not a letter or number)
3. Upload it to Commons, get an error message which says "failure" but not say why

The expected output should be, "change the name of your file, you used non-alphanumeric characters which are not allowed".
Comment 3 Andre Klapper 2014-07-01 10:30:14 UTC
Still don't know how you uploaded. Did you test both Special:Upload and Special:UploadWizard on Commons? Which non-alphanumeric signs did you actually try? Clear specific steps that don't leave any room for interpretation are very welcome in bug reports. See https://www.mediawiki.org/wiki/How_to_report_a_bug
Comment 4 Lane Rasberry 2014-07-01 11:14:22 UTC
1. name image file !@#$%^&*()_+=-<>?-'"_.,\|}{[]\~`.jpg
2. upload using special upload wizard on Commons
3. get unexpected failure message which does not indicate that odd characters are the problem
Comment 5 Andre Klapper 2014-07-01 11:58:41 UTC
Tested on test2 which should not have a difference to Commons:

1. Name a local file pon your harddisk
   !@#$%^&*()_+=-<>?-'"_.,\|}{[]\~`.jpg 
2. Go to https://test2.wikipedia.org/w/index.php?title=Special:UploadWizard
3. Click "Select media files to share"
4. Select file via file chooser dialog of your system
5. Wait and see that "Upload" page says:
   All uploads were successful! 1 of 1 file uploaded
6. Click Continue button
7. On "Release rights" page, choose
   This file is my own work.
8. Click "Next"
9. Replace   `.   in Title field by "Something"
10. Click "Next" button
11. End up with "You can now use this file on wikis, or link to it on the web.
    | Go to wiki home page | Upload more files"

--> I cannot reproduce the problem with Firefox 30 on Fedora 20.
Comment 6 Lane Rasberry 2014-07-01 12:14:09 UTC
We diverged at your step 9. You took an unprompted arbitrary action, when I took no action at that step.

We did step 10 the same way.

In step 11, I got <api-error-unknownerror>
Comment 7 Pine 2014-07-02 18:27:18 UTC
I have experienced what I think is this same problem, and this appears to be a duplicate of bug 66366 or at least similar to it. The vague error message is especially problematic. If the error message is fixed then users will know how to change filenames to successfully upload files.
Comment 8 Lane Rasberry 2014-07-02 20:02:54 UTC
Yes, this is the same.
Comment 9 Marco 2014-07-02 20:50:14 UTC
(In reply to Lane Rasberry from comment #8)
> Yes, this is the same.

marking as duplicate

*** This bug has been marked as a duplicate of bug 66366 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links