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

           Summary: UploadStash does not support paged media (like pdf's),
                    or other weird filetypes like ogg.
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Uploading
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bawolff...@gmail.com
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com,
                    ne...@wikimedia.org


Upload stash seems to fail for paged media (pdf's is what i tested. But same
issue presumably applies to other paged formats like Djvu, and other "weird"
formats like ogg most likely).

This seems to be because SpecialUploadStash only accounts for width parameters
to be at the begining of the thumbnail name. It doesn't look for a page
parameter. Handler's can define there own parameter, so this would also break
for things like oggHandler, which can have a seek parameter for where in the
video the image was pulled from.

As a secondary issue, UploadStash doesn't support files with multiple
extensions (key is not in proper format...), which happens for pdf's (And some
other non-image formats) since the thumbnail is jpg, but the original is pdf.
so the filename of a thumb ends up being page1-100px-foo.pdf.jpg

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to