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

           Summary: Icons for stashed audio files are broken
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: UploadWizard
        AssignedTo: ne...@wikimedia.org
        ReportedBy: ne...@wikimedia.org
                CC: gpaum...@wikimedia.org, asha...@wikimedia.org


When we try to obtain the icon for an uploaded audio file, instead of fetching
the standard audio icon, we instead do this exchange:

http://commons.prototype.wikimedia.org/w/api.php?action=query&format=json&prop=stashimageinfo&siisessionkey=chbquaktkhol08cdl6sq3x9nxqj11vj&siiurlwidth=120&siiprop=url

{"servedby":"commons.prototype.wikimedia.org","error":{"code":"siiinvalidsessiondata","info":"Bad
path: path
'\/srv\/org\/wikimedia\/prototype\/wikis\/commons\/images\/temp\/5\/51\/mid-chbquaktkhol08cdl6sq3x9nxqj11vj.ogx.jpg'
doesn't exist"}}

In other words, the filename manipulation that is correct for a stashed JPG --
to get a thumbnail of that, generated in the temp space -- isn't correct for an
OGG file, whose thumbnail will be based off an existing icon, already
published.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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