Index: trunk/phase3/includes/Linker.php |
— | — | @@ -480,6 +480,8 @@ |
481 | 481 | if ( $img->exists() ) { |
482 | 482 | $width = $img->getWidth(); |
483 | 483 | $height = $img->getHeight(); |
| 484 | + } else { |
| 485 | + return $this->makeBrokenLinkObj( $img->getTitle() ); |
484 | 486 | } |
485 | 487 | if ( 0 == $width || 0 == $height ) { |
486 | 488 | $width = $height = 200; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -299,6 +299,7 @@ |
300 | 300 | get a blue link even if there's no local description page |
301 | 301 | * (bug 4169) Use $wgLegalTitleChars in pipe trick conversions |
302 | 302 | * (bug 4170) Decode HTML character escapes in sort key |
| 303 | +* Avoid FATAL ERROR when creating thumbnail of non-existing image |
303 | 304 | |
304 | 305 | |
305 | 306 | === Caveats === |