Last modified: 2014-03-27 11:44:25 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 T65175, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63175 - Inconsistency in how MediaHandler::doTransform called
Inconsistency in how MediaHandler::doTransform called
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.23.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-27 05:45 UTC by Bawolff (Brian Wolff)
Modified: 2014-03-27 11:44 UTC (History)
6 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2014-03-27 05:45:48 UTC
If MediaHandler::doTransform called to transform the file, then the second argument ($dstPath) is a file path to the output file. However, if its called with self::TRANSFORM_LATER because file already exists, then the $dstPath argument is a mwstore:// url. This is rather inconsistent (I suppose its because we don't want to copy over the file in that case to get a local ref.) Not sure what could be done about it, other then document more clearly.

[This is a rather low priority bug]

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


Navigation
Links