Last modified: 2012-06-01 21:27:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27902, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25902 - Icons for stashed audio files are broken
Icons for stashed audio files are broken
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 25828 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-12 23:35 UTC by Neil Kandalgaonkar
Modified: 2012-06-01 21:27 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neil Kandalgaonkar 2010-11-12 23:35:59 UTC
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.
Comment 1 Derk-Jan Hartman 2010-11-12 23:39:29 UTC
See also bug 25828
Comment 2 Neil Kandalgaonkar 2010-11-15 22:17:01 UTC
*** Bug 25828 has been marked as a duplicate of this bug. ***
Comment 3 Bugmeister Bot 2011-08-19 19:12:34 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 4 Mark Holmquist 2012-06-01 21:27:22 UTC
I took a look at this, but the callbacks and methods for setting the thumbnail are so confused that I can't reliably set the thumbnail without it getting overwritten at some point. I'm not fully sure why this all happens, but I'm also not sure this is a priority right now. I'm going to lower it, and come back to this one later.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links