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:
8ffd856
)
Bump cache version
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 25 Apr 2007 07:39:26 +0000
(07:39 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 25 Apr 2007 07:39:26 +0000
(07:39 +0000)
includes/Image.php
patch
|
blob
|
history
diff --git
a/includes/Image.php
b/includes/Image.php
index
ffe3802
..
89f6871
100644
(file)
--- a/
includes/Image.php
+++ b/
includes/Image.php
@@
-14,7
+14,7
@@
/**
* Bump this number when serialized cache records may be incompatible.
*/
-define( 'MW_IMAGE_VERSION',
1
);
+define( 'MW_IMAGE_VERSION',
2
);
/**
* Class to represent an image
@@
-935,7
+935,7
@@
class Image
$thumb = null;
} elseif ( $thumb->isError() ) {
$this->lastError = $thumb->toText();
- if ( $wgIgnoreImageErrors ) {
+ if ( $wgIgnoreImageErrors
&& !($flags & self::RENDER_NOW)
) {
$thumb = $handler->getTransform( $this, $thumbPath, $thumbUrl, $params );
}
}