From 2b64de575d3c0fe52da0aa717615775e36013fb5 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 9 Apr 2010 16:58:42 +0000 Subject: [PATCH] Fix OggHandler/Mp3Handler etc. after r61912 r61918 --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index c049f47357..9ff9301a49 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -468,7 +468,7 @@ class Linker { if ( $file && !isset( $hp['width'] ) ) { $hp['width'] = $file->getWidth( $page ); - if( isset( $fp['thumbnail'] ) || isset( $fp['framed'] ) || isset( $fp['frameless'] ) ) { + if( isset( $fp['thumbnail'] ) || isset( $fp['framed'] ) || isset( $fp['frameless'] ) || !$hp['width'] ) { $wopt = $wgUser->getOption( 'thumbsize' ); if( !isset( $wgThumbLimits[$wopt] ) ) { -- 2.20.1