User "Raindrift" posted a comment on MediaWiki.r94627.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94627#c22970
Commit summary:

Add FormData upload transport.
If enabled this is used in Browsers that support FormData.
Larger files are uploaded in chunks.

Comment:

 <nowiki>
+                       } else if( mw.UploadWizard.config[ 'enableFormData' ] &&
+                                               (($j.browser.mozilla && 
$j.browser.version >= '5.0') ||
+                                                ($j.browser.webkit && 
$j.browser.version >= '534.28'))
</nowiki>

Is there a reason to not use mw.fileApi.isAvailable()?  I'm concerned that this 
won't work with future versions of IE that support the File API.  If the check 
that's there isn't sufficient, it might make sense to add a new method to 
mw.fileApi so at least all the checking happens in one place.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to