r68711 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68710‎ | r68711 | r68712 >
Date:07:46, 29 June 2010
Author:daniel
Status:ok
Tags:
Comment:
fix caps: pagedTiffHandler -> PagedTiffHandler; follow-up to r68661
Modified paths:
  • /trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php
@@ -98,15 +98,15 @@
9999 static function extCheck( $meta, &$error, $saveName = '' ) {
100100 global $wgTiffMaxEmbedFiles, $wgTiffMaxMetaSize;
101101
102 - $errors = pagedTiffHandler::getMetadataErrors( $meta );
 102+ $errors = PagedTiffHandler::getMetadataErrors( $meta );
103103 if ( $errors ) {
104104 $error = 'tiff_bad_file';
105105
106106 // NOTE: in future, it will become possible to pass parameters
107 - // $error = array( 'tiff_bad_file' , pagedTiffHandler::joinMessages( $errors ) );
 107+ // $error = array( 'tiff_bad_file' , PagedTiffHandler::joinMessages( $errors ) );
108108 // does that work now? ^DK
109109
110 - wfDebug( __METHOD__ . ": $error ($saveName) " . pagedTiffHandler::joinMessages( $errors, false ) . "\n" );
 110+ wfDebug( __METHOD__ . ": $error ($saveName) " . PagedTiffHandler::joinMessages( $errors, false ) . "\n" );
111111 return false;
112112 }
113113 if ( ( strlen( serialize( $meta ) ) + 1 ) > $wgTiffMaxMetaSize ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68661improved meta-data and error handling and persistance, as suggested by tim in...daniel14:41, 28 June 2010

Status & tagging log