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:
4a3fd85
)
Fix r77261 by adding the parentheses already added in 1.16wmf4 in r77264
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 25 Nov 2010 12:34:21 +0000
(12:34 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 25 Nov 2010 12:34:21 +0000
(12:34 +0000)
includes/media/Bitmap.php
patch
|
blob
|
history
diff --git
a/includes/media/Bitmap.php
b/includes/media/Bitmap.php
index
bb1bbba
..
2380394
100644
(file)
--- a/
includes/media/Bitmap.php
+++ b/
includes/media/Bitmap.php
@@
-239,9
+239,9
@@
class BitmapHandler extends ImageHandler {
// a pixel.
" -thumbnail " . wfEscapeShellArg( "{$params['physicalDimensions']}!" ) .
// Add the source url as a comment to the thumb, but don't add the flag if there's no comment
- $params['comment'] !== ''
+
(
$params['comment'] !== ''
? " -set comment " . wfEscapeShellArg( $this->escapeMagickProperty( $params['comment'] ) )
- : '' .
+ : ''
)
.
" -depth 8 $sharpen" .
" {$animation_post} " .
wfEscapeShellArg( $this->escapeMagickOutput( $params['dstPath'] ) ) . " 2>&1";