dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8027b49
)
Follow up r64936. Even better, provide the bug number and imagemagick doc page.
author
Platonides
<platonides@users.mediawiki.org>
Sun, 11 Apr 2010 20:47:41 +0000
(20:47 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sun, 11 Apr 2010 20:47:41 +0000
(20:47 +0000)
includes/media/Bitmap.php
patch
|
blob
|
history
diff --git
a/includes/media/Bitmap.php
b/includes/media/Bitmap.php
index
1f390bb
..
aada9c5
100644
(file)
--- a/
includes/media/Bitmap.php
+++ b/
includes/media/Bitmap.php
@@
-158,7
+158,8
@@
class BitmapHandler extends ImageHandler {
// a pixel.
" -thumbnail " . wfEscapeShellArg( "{$physicalWidth}x{$physicalHeight}!" ) .
// Add the source url as a comment to the thumb. A % is an
// a pixel.
" -thumbnail " . wfEscapeShellArg( "{$physicalWidth}x{$physicalHeight}!" ) .
// Add the source url as a comment to the thumb. A % is an
- // escape character in ImageMagick, so needs escaping
+ // escape character in ImageMagick, so needs escaping (bug 23148)
+ // http://www.imagemagick.org/script/escape.php?ImageMagick=i766ho1om315scce8eh75efjc6
" -set comment " . wfEscapeShellArg( str_replace( '%', '%%', $descriptionUrl ) ) .
" -depth 8 $sharpen " .
wfEscapeShellArg( $dstPath ) . " 2>&1";
" -set comment " . wfEscapeShellArg( str_replace( '%', '%%', $descriptionUrl ) ) .
" -depth 8 $sharpen " .
wfEscapeShellArg( $dstPath ) . " 2>&1";