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: wikibugs-l@lists.wikimedia.org
          Reporter: bawolff...@gmail.com
                CC: aarcos.w...@gmail.com, bawolff...@gmail.com,
                    bryan.tongm...@gmail.com, fflo...@wikimedia.org,
                    gti...@wikimedia.org, mtrac...@member.fsf.org
       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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to