Last modified: 2011-04-08 00:51:45 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 T30316, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28316 - Link to stashed file should be size-limited
Link to stashed file should be size-limited
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Ryan Kaldari
:
Depends on:
Blocks: 27260
  Show dependency treegraph
 
Reported: 2011-03-30 01:34 UTC by Neil Kandalgaonkar
Modified: 2011-04-08 00:51 UTC (History)
2 users (show)

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


Attachments

Description Neil Kandalgaonkar 2011-03-30 01:34:08 UTC
When a file is uploaded and stashed (but not yet committed to the wiki), we show previews that are themselves stashed.

These previews link to the full version of the file. But because of the way the stash works, it is undesirable to serve large images. (The security is handled by a PHP script reading in from disk and writing to STDOUT). So there is a limit on the size of files that can be served. This annoys many people who click on the file and get a cryptic error message

Solution: instead of linking to the real file, link to yet another preview file, limited by size.

Nice to have: instead of a link to a page, use a lightbox to show the image, somewhat larger.
Comment 1 Neil Kandalgaonkar 2011-03-30 17:24:18 UTC
Mark: I don't know why you feel this bugs is related to bug 28325. As far as I know, it isn't. Removing block.
Comment 2 Ryan Kaldari 2011-04-08 00:47:18 UTC
Fixed in r85655.

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


Navigation
Links