MultiUpload

MultiUpload is a script that allows you to select multiple files directly from the open dialog box on Special:Upload. You can also change their upload file names, descriptions and licences.
== ==
== ==
All of MultiUpload configuration goes into the variable window.MultiUploadoption.
To avoid spam and image flood, the number of files that can be uploaded at a time is limited to user rights:
* User: 20
* Rollback and content-moderator: 30
* Sysop/admin: 50
* Bureaucrat and bot: 70
* Staff, util, global bot, and wiki-specialist: 200
You can change this by adding the following configuration before the import statements. (Note that the value is capped at 100. If you set it beyond 100, it will revert to your user right limit.)
window.MultiUploadoption = {
 max: 30
};
It's also possible to change the default license displayed in every drop-down license menu:
window.MultiUploadoption = {
 defaultlicense: 'CC-BY-SA'
};
If you choose CC-BY-SA, you will have "This is licensed under the Creative Commons Attribution-Share Alike License" by default. To know which value to put, go to MediaWiki:Licenses on your wiki or type your language behind like MediaWiki:Licenses/fr for French. Then, put the text before the | of the license by default you want.
It's also possible to change the default description displayed in every drop-down license menu. This is mainly useful to add one or more Categories to many files at once:
window.MultiUploadoption = {
 defaultdescription: '[[Category:Screenshots]]'
};
You can mix multiple configurations in one assignment. For example, if you want to change your max to 50 and your license to "Public Domain":
window.MultiUploadoption = {
 max: 50,
 defaultlicense: 'PD'
};
== Known issues ==
All URL encoded are not permitted for example, in textbox, Image-picture.png will fail but Image picture.png will work.
== Changelog ==
; Novenber 26, 2024 (NoWayThisUsernameIsAlreadyOwnedBySomeone)
: Fix and significantly improve displayed error/warning messages.
: No longer activate the script when Special:Upload was opened through a redlink (you only want to upload that specific file in that case).
: Fix that browsers would ask for confirmation before leaving the upload page even if all uploads had already completed.
: Add a progress bar and more visible completion notifications.
; July 2, 2024 (Chomchaum): Add a default description option
; June 14, 2021 (Fujimaru-kun): Add a default license option
; November 2020 (Fujimaru-kun): UCP-compatible version
; June 16, 2019 (KhangND): Rewrite, major improvements: Fixed asynchronous state, improved notification, added reset button...
; January 1, 2015 (Gguigui1): Script published
== ==
* UploadMultipleFiles - Similar to MultiUpload but allows selection of multiple files directly from a single dialog box.
* Wiki-Up - Similar functionality written in C#.