Last modified: 2009-12-31 00:25:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12374 - possible image thumbnailing restriction prevention
possible image thumbnailing restriction prevention
Status: RESOLVED DUPLICATE of bug 9497
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-22 00:10 UTC by Carl Fürstenberg
Modified: 2009-12-31 00:25 UTC (History)
2 users (show)

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


Attachments
the allmighty patch (2.60 KB, patch)
2007-12-22 00:10 UTC, Carl Fürstenberg
Details

Description Carl Fürstenberg 2007-12-22 00:10:38 UTC
Created attachment 4459 [details]
the  allmighty patch

After checking the imagemagick documentation, I concluded that following patch could take care of the arbitrary 12.5Mpixel limit, and concentrate on limiting the used cache instead.
Comment 1 Brion Vibber 2009-08-12 23:07:47 UTC
Some of my notes from IRC; other than bringing the patch up to date a couple things to note:

[4:05pm] brion: the rule exception check looks wrong; it's only with ImageMagick that we can safely scale large JPEGs
[4:05pm] brion: if we tried it with GD we'd need to load the full image into memory, i believe
[4:06pm] brion: some sensible example values for the limits could be useful, as well as simply testing to confirm that it doesn't go beyond those limits with large PNG and TIFF sources
[4:06pm] brion: should collect some sample input files...
Comment 2 Guillaume Paumier 2009-12-31 00:25:30 UTC
Marking as duplicate of bug 9497 since the patch tries to address the same issue.

*** This bug has been marked as a duplicate of bug 9497 ***

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


Navigation
Links