r11999 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11998‎ | r11999 | r12000 >
Date:22:37, 6 December 2005
Author:jeluf
Status:old
Tags:
Comment:
Revert last change, was already fixed in the meantime
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -480,9 +480,7 @@
481481 if ( $img->exists() ) {
482482 $width = $img->getWidth();
483483 $height = $img->getHeight();
484 - } else {
485 - return $this->makeBrokenLinkObj( $img->getTitle() );
486 - }
 484+ }
487485 if ( 0 == $width || 0 == $height ) {
488486 $width = $height = 200;
489487 }

Status & tagging log