Last modified: 2014-10-11 14:41:21 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 T34361, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32361 - upload by url of something that's not a url doesn't give error
upload by url of something that's not a url doesn't give error
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Rohan Rawat
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-11 15:53 UTC by Bawolff (Brian Wolff)
Modified: 2014-10-11 14:41 UTC (History)
5 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2011-11-11 15:53:07 UTC
I tried to upload by url, using url of "file:Balawing,_Junrey_pronunciation.jpg"

Expected behaviour: Some sort of error about it being not a url (or perhaps whining about how file: isn't an allowed url schema)

Actual behaviour: upload form re-loaded without any indication what went wrong.
Comment 1 Andre Klapper 2013-01-29 22:26:54 UTC
Trying to find out what "upload by URL" is I found
http://blog.wikimedia.org/2009/03/21/upload-by-url-for-testwikipediaorg/ but "The default configuration limits URL uploads to sysops, so for now you’ll need to be a sysop on Test Wikipedia to try it out."

I'm an admin on https://test2.wikipedia.org/wiki/Special:Upload but there is no such option, only uploading a local file.

Bawolff: On which wikisite is this, in case you remember?
Comment 2 Bawolff (Brian Wolff) 2013-01-29 23:05:27 UTC
This was on my personal test wiki (importing images from commons via url is much easier than download and reupload. I needed the images locally to debug file metadata bugs)

You are now an admin on test.wikipedia.org which has feature enabled. If you go to special:upload you should see the upload by url box.

This bug might be reflective of larger issues with error handling in old upload form. I remember hearing about other errors (like post requests without a file or server misconfigs) manifesting like this, but that was a long time ago so things may have changed
Comment 3 Gerrit Notification Bot 2014-06-15 19:16:16 UTC
Change 139696 had a related patch set uploaded by TheDJ:
Upload: Display an error to the user on invalid wpUploadFileURL

https://gerrit.wikimedia.org/r/139696

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


Navigation
Links