Last modified: 2012-04-18 14:59:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 16752 - Support HTML 5 multiple upload control
Support HTML 5 multiple upload control
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Neil Kandalgaonkar
http://commons.wikimedia.org/wiki/Spe...
:
Depends on: 16751
Blocks: 488
  Show dependency treegraph
 
Reported: 2008-12-22 01:18 UTC by Brion Vibber
Modified: 2012-04-18 14:59 UTC (History)
5 users (show)

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


Attachments

Description Brion Vibber 2008-12-22 01:18:56 UTC
HTML 5 work includes a multiple selection option for <input type="file">:
http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#attr-input-multiple

This is now supported in WebKit development trunk:
http://trac.webkit.org/changeset/37863

Using this in the UI when Flash or other fancy upload controls aren't available would be a nice assist for supporting browsers.

(Requires actual support for handling multiple file uploads -- bug 16751)
Comment 1 Neil Kandalgaonkar 2010-02-26 23:36:05 UTC
I'm working on a related widget (see http://usability.wikimedia.org/wiki/Multimedia:NewUpload), and if I can I'm adding in HTML5 multiple-file support.
Comment 2 Brion Vibber 2010-12-03 05:23:30 UTC
Note that HTML5 multi-file support is currently working nicely in current release versions of at least the following browsers:
* Firefox
* Chrome
* Safari

PHP accepts them nicely if the <input type="file" multiple>s name attribute includes the "[]" brackets, which makes PHP interpret the multiple instances of things submitted under that name as an array.

PHP-side code would need to be adapted to use the array if necessary.
Comment 3 Brion Vibber 2011-08-05 12:30:06 UTC
Note that bug 26502 requests this for UploadWizard, which would need either multi-upload support in the API upload handler (thus also bug 16751) or using HTML5 FileAPI to read each file and submit it in a separate request.

The core upload page could do similar on supporting browsers.
Comment 4 drecodeam 2012-04-07 18:11:40 UTC
I think that Uplaod Wizard now supports this, so we can close the issue ?? ( see bug 26502 and bug 16751)

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


Navigation
Links