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

           Summary: ForeignAPIRepo doesn't handle files that have no
                    preview
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: hart...@videolan.org
                CC: gpaum...@wikimedia.org, innocentkil...@gmail.com


When trying to use an audio file such as [[File:Four Inventions.ogg]] from the
foreignAPIRepo (Commons specifically), in my own installation of MediaWiki, the
following error is produced:

[client ::1] PHP Warning: 
file_put_contents(/Users/hartman/Development/phase3/images/thumb/Accordian_chords-01.ogg/):
failed to open stream: Is a directory in
/Users/hartman/Development/phase3/includes/filerepo/ForeignAPIRepo.php on line
210, referer: http://localhost/wiki/index.php?title=Main_Page&action=edit

A thumb reports: "Error creating thumbnail:", while a noicon inclusion simply
creates a redlink.

-- 
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 watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to