Index: trunk/phase3/includes/Image.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | /** |
16 | 16 | * Bump this number when serialized cache records may be incompatible. |
17 | 17 | */ |
18 | | -define( 'MW_IMAGE_VERSION', 1 ); |
| 18 | +define( 'MW_IMAGE_VERSION', 2 ); |
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Class to represent an image |
— | — | @@ -935,7 +935,7 @@ |
936 | 936 | $thumb = null; |
937 | 937 | } elseif ( $thumb->isError() ) { |
938 | 938 | $this->lastError = $thumb->toText(); |
939 | | - if ( $wgIgnoreImageErrors ) { |
| 939 | + if ( $wgIgnoreImageErrors && !($flags & self::RENDER_NOW) ) { |
940 | 940 | $thumb = $handler->getTransform( $this, $thumbPath, $thumbUrl, $params ); |
941 | 941 | } |
942 | 942 | } |