Last modified: 2013-09-18 17:32:36 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 T36952, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34952 - bitdepth of UploadStashFile is wrong
bitdepth of UploadStashFile is wrong
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 11:13 UTC by db [inactive,noenotif]
Modified: 2013-09-18 17:32 UTC (History)
3 users (show)

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


Attachments

Description db [inactive,noenotif] 2012-03-04 11:13:24 UTC
using prop=stashimageinfo with siiprop=bitdepth gives bitdepth="0", not the 8 which is stored in the database.

You have to override the stub File::getBitDepth.
Comment 1 Andre Klapper 2013-09-18 15:12:38 UTC
So I'd test this with https://en.wikipedia.org/w/api.php?action=query&prop=stashimageinfo&siiprop=bitdepth&siifilekey=124sd34rsdf567 and would have to replace 124sd34rsdf567 with the key for a previous upload?
Comment 2 db [inactive,noenotif] 2013-09-18 17:32:36 UTC
Yes, but the upload module will already provide it to you on the result, but you can also see it of stashimageinfo.

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


Navigation
Links