Last modified: 2010-05-15 16:03:03 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 T21768, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19768 - Make MAGICK_TMPDIR configurable (ImageMagick)
Make MAGICK_TMPDIR configurable (ImageMagick)
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-16 11:49 UTC by thomas.schuering
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description thomas.schuering 2009-07-16 11:49:27 UTC
MediaWiki seems to use 'convert' from ImageMagick.

For ImageMagick you can assign a tmp-dir via MAGICK_TMPDIR (default: '/tmp').
MediaWiki does not set that variable.

In shared-hosting situations it would be nice to have MAGICK_TMPDIR configurable.
That way each user could have his temp-files in his own space.

Currently all goes into /tmp. This can fill up a tmp-partition easily.
Comment 1 Chad H. 2009-07-16 13:39:37 UTC
Should be pretty easy. 

Just make a new global (null by default) and then set the environment variable in Setup somewhere of the path is specified by the user.
Comment 2 Chad H. 2009-07-18 02:16:52 UTC
WORKSFORME. Didn't realize we already did this.

See http://www.mediawiki.org/wiki/Manual:$wgImageMagickTempDir

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


Navigation
Links