Last modified: 2011-04-14 15:14:29 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 T18437, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16437 - Ability to preview vector/re-rendered images in Special:Upload "warning" interstitial.
Ability to preview vector/re-rendered images in Special:Upload "warning" inte...
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.14.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 20326
  Show dependency treegraph
 
Reported: 2008-11-23 05:48 UTC by Splarka
Modified: 2011-04-14 15:14 UTC (History)
4 users (show)

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


Attachments

Description Splarka 2008-11-23 05:48:51 UTC
This is related to bug 2537 and especially https://bugzilla.wikimedia.org/show_bug.cgi?id=2537#c12 but not a duplicate (at least, not one in my opinion, and if it gets duped I will go have a cry).

I suggest a different approach to comment 12 in bug 2537 : Rather than re-generating the whole form like an edit does with the [preview] button, why not a checkbox like [x] preview (and this could be context-sensitive based on the file extension with javascript, no need to preview jpeg/png/etc). This would tap into the general warning interstitial page (seen for duplicate warning, file exists warning, deleted duplicate warning, large image warning), and show a (large resolution? maybe based on user prefs) preview of the rendered image, without requiring a reupload if the user chooses to save, but also not committing the user to a full upload just to test such an image (SVG in particular).

This would have great use with the images that are always rasterized/transformed for content, such as SVG, PDF, DJVU.

This is suggested as a first step towards a full history/diff/live-edit of SVG as vaguely hinted by http://news.cnet.com/8301-17939_109-10103177-2.html
 "Wikipedia users may soon get a way to view the revisions that people make offline to photos by flipping through previous versions of the images."

(And while this may not apply to SVG in particular, such a system would be pretty sweet. Especially since duplicating Wikimedia's rsvg setup is not easy, and there is no way to actually test against it without creating a permanent (even if deleted) revision to the image servers, wasting space. A gentle next step to this system would be a plain text entry field for raw SVG data previewing... )
Comment 1 Splarka 2008-11-26 06:14:38 UTC
Update: working on this in theory with someone, some (rhetorical) questions:

Should the preview limit be an X * Y or area? We're probably gonna gonna try for a settable area, of 800 x 600:  $wgUploadPreviewAreaLimit = 800*600 #.5 megapixel

Should this be regulated? $wgRateLimits? or create a (disableable via "$wgUploadPreviewLogging = true;" or such) log entry type "upload" action "preview" ? Is it not worth worrying about?


Comment 2 Brion Vibber 2009-07-29 21:50:46 UTC
I'd just use the same size as is used on the image detail page...
Comment 3 Platonides 2009-07-29 21:54:14 UTC
> Should this be regulated? $wgRateLimits? or create a (disableable via
> "$wgUploadPreviewLogging = true;" or such) log entry type "upload" action
> "preview" ? Is it not worth worrying about?

Some admins will surely want to disable it. I'd use a previewupload permission 
rather than a configuration setting, though.

Comment 4 Michael Dale 2009-08-21 15:52:42 UTC
see https://bugzilla.wikimedia.org/show_bug.cgi?id=2537#c13  

"should not be hard to do now" 

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


Navigation
Links