Last modified: 2014-04-04 00:25:35 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 T27695, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25695 - Create /download alias for upload.wikimedia.org
Create /download alias for upload.wikimedia.org
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
: 26956 (view as bug list)
Depends on:
Blocks: 21853
  Show dependency treegraph
 
Reported: 2010-10-28 16:16 UTC by Derk-Jan Hartman
Modified: 2014-04-04 00:25 UTC (History)
3 users (show)

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


Attachments

Description Derk-Jan Hartman 2010-10-28 16:16:57 UTC
I request to add an alias to upload.wikimedia.org that triggers the addition of the following header:

'Content-Disposition: attachment; filename="yourname.file"'

This would enable the usage of a "Download this file" option that bypasses your browser window, and immediately going to your browser's "download manager".

So for the file:
http://upload.wikimedia.org/wikipedia/commons/5/58/Polish_Army_Kolobrzeg_077.JPG

There could be the redirects:
http://download.wikimedia.org/wikipedia/commons/5/58/Polish_Army_Kolobrzeg_077.JPG or alternatively http://upload.wikimedia.org/download/wikipedia/commons/5/58/Polish_Army_Kolobrzeg_077.JPG
Comment 1 JeLuF 2010-12-17 16:20:43 UTC
You could simply use the "save link as" feature that every browser provides.
Comment 2 Derk-Jan Hartman 2011-01-26 09:11:42 UTC
Well you COULD, but that doesn't make it user friendly.

See also bug #26956

I really think we should implement this in some way.
Comment 3 Derk-Jan Hartman 2011-01-26 09:13:16 UTC
*** Bug 26956 has been marked as a duplicate of this bug. ***
Comment 4 JeLuF 2011-01-26 11:24:26 UTC
Adding more and more buttons doesn't improve user friendliness, either.
Comment 5 Tisza Gergő 2014-04-04 00:25:35 UTC
This is now possible by appending ?download to the URL (could be something like ?download=1 too if you don't like valueless URL parameters).

The relevant changesets (by Gilles):
https://gerrit.wikimedia.org/r/#/c/120617/ (WMF Varnish)
https://gerrit.wikimedia.org/r/#/c/120614/ (Vagrant Apache)
https://gerrit.wikimedia.org/r/#/c/120703/ (MediaWiki when serving through PHP)

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


Navigation
Links