https://bugzilla.wikimedia.org/show_bug.cgi?id=41318

       Web browser: ---
             Bug #: 41318
           Summary: PagedTiffHandler: The uploaded file contains errors:
                    $1
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: PagedTiffHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


'tiff_bad_file' => 'The uploaded file contains errors: $1',

$1 is not substituted

Line 62 of PagedTiffHandler_body.php
if ( !$tr->isValidTiff() ) {
                wfDebug( __METHOD__ . ": bad file\n" );
                $status->fatal( 'tiff_bad_file' );
            }

^ No error parameter passed

Line 102

$error = array( 'tiff_bad_file', PagedTiffHandler::joinMessages( $errors ) );

^ should be ok..

Line 312

return $this->doThumbError( $params, 'tiff_bad_file' );

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to