Last modified: 2013-09-19 05:52:47 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 9133 - Drag and drop uploading
Drag and drop uploading
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-28 18:31 UTC by Jamie Hari
Modified: 2013-09-19 05:52 UTC (History)
7 users (show)

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


Description Jamie Hari 2007-02-28 18:31:15 UTC
I have seen many sites that are allowing for drag-and-drop uploading.
The good news is that you can even preserve meta-data about the files during
this process too. ;)

I think I have seen previous implementations using WebDAV stuff:

Extensions to this methodology of uploading could allow for automatic
categoization and licensing.
(i.e. you drag it into the public-domain folder which would categorize the image
as a public domain automatically)

This is a massive overhaul of the upload backend and might be something for
"MediaWiki 2.0"
Comment 1 Rob Church 2007-02-28 19:40:45 UTC
* Where would the user drop the file to be uploaded?
* Aside from uploading, what other action would be taken?
* What would be the best method to prompt for licencing information (where
enabled), summaries, etc?
Comment 2 Jamie Hari 2007-03-01 03:34:05 UTC
* I envision a 'Windows Explorer'-like interface... but if someone has a better
idea, by all means.

What happens is they would visit 'Special:WebDAV' which would load an applet (or
however you want to implement it) in a frame in on the page. It might have a
hierarchical folder structure. The structure could be sorted alphabetically or
by some other metric of choice. In theory, you could call the applet on any
page, but for on-screen real estate reasons, it might be best to have lots of

Drilling down into categories would be done in the same way you do it in
Windows. As an analogy, if Hoboken were a category under New Jersey and New
Jersey under USA, drilling down in the WebDAV browser would be the equivalent of
C:\USA\New Jersey\Hoboken 

Where C:\ is the top level folder, if you catch my drift...

* Aside from uploading, this would be a great interface for copy/move/delete
functionality, especially for bulk actions. Dragging overtop 3 or 4 items in the
frame, then hitting delete would allow you to delete them all simultaneously.
Before you click 'yes' to the 'are you sure?' message it would prompt you for a
comment on why you are deleting.

You should be able to do anything to the files you would do in Windows. Delete /
Add / Copy / Move / Rename / etc.

The licensing information could be handled in a few ways, I suppose. You could
switch 'views' from 'category view' into 'licensing view'. In this mode, by
moving a file into a particular license folder, you would modify the license to

That may be pretty complicated to implement, but very easy to use.

An easier implementation might just be the same or similar drop-down we use
today. This of course would be enhanced by the ability to bulk/batch-load files.

I am just thinking out loud here, my ideas are certainly not the limits of what
WebDAV style uploading can provide. I bet you could even do this with AJAX.

Some other links to sites using similar technology:
Comment 3 Jamie Hari 2007-03-17 03:35:40 UTC uses a similar technology to allow users to upload images.
They use an active x control though...
Comment 4 DieBuche 2011-05-02 20:20:24 UTC
This is well feasible now with HTML5
Comment 5 Sam Reed (reedy) 2012-02-09 22:37:43 UTC
UploadWizard does this...
Comment 6 drecodeam 2012-04-07 18:19:37 UTC
i have added a patch for this on Gerrit :,3808 . I have added drag and drop support with a drop container. Please review it .
Comment 7 Erik Moeller 2012-06-03 08:35:35 UTC
Still needs some love, but can be temporarily tested here:
Comment 8 Gerrit Notification Bot 2013-08-28 22:41:47 UTC
Change 3808 had a related patch set uploaded by MarkTraceur:
Add HTML5 drag and drop support

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