Index: trunk/phase3/includes/Linker.php |
— | — | @@ -468,7 +468,7 @@ |
469 | 469 | if ( $file && !isset( $hp['width'] ) ) { |
470 | 470 | $hp['width'] = $file->getWidth( $page ); |
471 | 471 | |
472 | | - if( isset( $fp['thumbnail'] ) || isset( $fp['framed'] ) || isset( $fp['frameless'] ) ) { |
| 472 | + if( isset( $fp['thumbnail'] ) || isset( $fp['framed'] ) || isset( $fp['frameless'] ) || !$hp['width'] ) { |
473 | 473 | $wopt = $wgUser->getOption( 'thumbsize' ); |
474 | 474 | |
475 | 475 | if( !isset( $wgThumbLimits[$wopt] ) ) { |