X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FImageHandler.php;h=472372c37cc6319703b49324b20d3a601ea83455;hb=ca31ebad3fbe7c8b907ff4a4c983f28d2794deb0;hp=61759074d8dd94718cebb99387b5ab5466a24f12;hpb=a1a296ac845aa37bfb34f0ca0085de67f9b2e8c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/ImageHandler.php b/includes/media/ImageHandler.php index 61759074d8..472372c37c 100644 --- a/includes/media/ImageHandler.php +++ b/includes/media/ImageHandler.php @@ -162,11 +162,11 @@ abstract class ImageHandler extends MediaHandler { # Sanity check $width if( $width <= 0) { - wfDebug( __METHOD__.": Invalid destination width: $width\n" ); + wfDebug( __METHOD__ . ": Invalid destination width: $width\n" ); return false; } if ( $srcWidth <= 0 ) { - wfDebug( __METHOD__.": Invalid source width: $srcWidth\n" ); + wfDebug( __METHOD__ . ": Invalid source width: $srcWidth\n" ); return false; } @@ -188,7 +188,7 @@ abstract class ImageHandler extends MediaHandler { if ( !$this->normaliseParams( $image, $params ) ) { return false; } - $url = $script . '&' . wfArrayToCGI( $this->getScriptParams( $params ) ); + $url = $script . '&' . wfArrayToCgi( $this->getScriptParams( $params ) ); if( $image->mustRender() || $params['width'] < $image->getWidth() ) { return new ThumbnailImage( $image, $url, false, $params );