r101946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101945‎ | r101946 | r101947 >
Date:01:56, 4 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed debug code from r101944
Modified paths:
  • /trunk/phase3/includes/filerepo/File.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/File.php
@@ -1476,18 +1476,15 @@
14771477 # Get size in bytes
14781478 $info['size'] = filesize( $path );
14791479
1480 - wfDebug("XXX $path $ext {$info[file-mime]} {$info[mime]} {$info[major_mime]} {$info[minor_mime]} {$info[media_type]} {$info[size]}\n");
14811480 # Height, width and metadata
14821481 $handler = MediaHandler::getHandler( $info['mime'] );
14831482 if ( $handler ) {
14841483 $tempImage = (object)array();
14851484 $info['metadata'] = $handler->getMetadata( $tempImage, $path );
14861485 $gis = $handler->getImageSize( $tempImage, $path, $info['metadata'] );
1487 - wfDebug("XXX $path has handler, metadata is {$info[metadata]}\n");
14881486 } else {
14891487 $gis = false;
14901488 $info['metadata'] = '';
1491 - wfDebug("XXX $path no handler, no metadata\n");
14921489 }
14931490 $info['sha1'] = self::sha1Base36( $path );
14941491

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101944Partial revert of r101912 -- restores r99315 'includexmlnamespace' parameter ...brion01:31, 4 November 2011

Status & tagging log