https://bugzilla.wikimedia.org/show_bug.cgi?id=63175
Bug ID: 63175
Summary: Inconsistency in how MediaHandler::doTransform called
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
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]
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l