Page MenuHomePhabricator

Download this file link on description page (particularly relevant to svg)
Closed, DuplicatePublic

Description

Author: bugzilla

Description:
When a user wishes to download a file, the interface offers no clear way to do so. Whilst most users know they can right click and download a file, not all users will know this. The issue is further complicated when a user triies to download an svg, because, depending on what thumbnail or image they right click, they may instead obtain the generated png. I have seen numerous users confused about the correct procedure to download an svg file. A simple "download this file in its original format" link, under the main thumbnail on the image description page would help to solve this.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62305

Details

Reference
bz25148

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:17 PM
bzimport set Reference to bz25148.
bzimport added a subscriber: Unknown Object (MLST).

mcdevitd wrote:

Related to bug 62305, which would also potentially solve the problem in this bug report.

bug 25695 added a download URL, so the only thing needed is to expose that URL in a link. Marking as easy.

Gergő: Would that be a potential Google Code-In task that you could imagine to mentor? See https://www.mediawiki.org/wiki/Google_Code-in_2014 for more info

Sure. Should I sign up as a mentor?

I am new to open source community. Can i try to work on this bug?

@Kartikey0303: Welcome! In general, please see How to become a MediaWiki hacker for some more information.

@To everybody: I am wondering "what is left to do here" in this very task and this might need clarification first. For example for SVG files in Commons and not using MultimediaViewer I end up on https://commons.wikimedia.org/wiki/File:Wikivoyage-Logo-v3-ukrainian.svg and there is an "Original file" link to download the SVG and not a thumbnail PNG. And as @Tgr wrote above:

T27695 added a download URL, so the only thing needed is to expose that URL in a link.

Also note the discussion in T64305 (which is very similar) about the implementation.

By "download URL" I meant an URL that downloads the image on left-click, instead of opening it. I thought that was the point of this task.

A link to the "original file (SVG format)" exists below the thumbnail preview (among many other links).
As discussion shows, an implementation first needs a good design and this is a general problem with file formats and not limited to SVG. Hence I am merging this task into the bigger T64305: More prominent display of other format available for download in image description pages.