r109728 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109727‎ | r109728 | r109729 >
Date:12:16, 22 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Rm extra space
Modified paths:
  • /trunk/phase3/includes/media/Bitmap.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/Bitmap.php
@@ -507,7 +507,7 @@
508508 if ( !isset( $typemap[$params['mimeType']] ) ) {
509509 $err = 'Image type not supported';
510510 wfDebug( "$err\n" );
511 - $errMsg = wfMsg ( 'thumbnail_image-type' );
 511+ $errMsg = wfMsg( 'thumbnail_image-type' );
512512 return $this->getMediaTransformError( $params, $errMsg );
513513 }
514514 list( $loader, $colorStyle, $saveType ) = $typemap[$params['mimeType']];
@@ -515,14 +515,14 @@
516516 if ( !function_exists( $loader ) ) {
517517 $err = "Incomplete GD library configuration: missing function $loader";
518518 wfDebug( "$err\n" );
519 - $errMsg = wfMsg ( 'thumbnail_gd-library', $loader );
 519+ $errMsg = wfMsg( 'thumbnail_gd-library', $loader );
520520 return $this->getMediaTransformError( $params, $errMsg );
521521 }
522522
523523 if ( !file_exists( $params['srcPath'] ) ) {
524524 $err = "File seems to be missing: {$params['srcPath']}";
525525 wfDebug( "$err\n" );
526 - $errMsg = wfMsg ( 'thumbnail_image-missing', $params['srcPath'] );
 526+ $errMsg = wfMsg( 'thumbnail_image-missing', $params['srcPath'] );
527527 return $this->getMediaTransformError( $params, $errMsg );
528528 }
529529

Status & tagging log