Extension:MultiUpload

The MultiUpload extension allows users to upload more than one file at a time, the extension tries to recreate all of the function of Special:Upload as possible.

The current version only works with 1.16+. The 1.16x version on download MultiUpload extension should not be used, use "Development version (trunk)" found on the same page. Older versions are also available.

Installation
For this extension to work, you have to have already allowed uploads on your wiki, see Manual:Configuring file uploads.


 * 1) Download snapshot
 * a. Create a MultiUpload folder in extensions
 * b. Add the files to the new MultiUpload folder
 * 1) Modify LocalSettings.php
 * Add this line to your LocalSettings.php file:
 * 1.16 from http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions
 * 1) Patch SpecialUpload.php. Copy mediawiki-1.14.0.patch to your base mediawiki installation directory and run patch -p0 < mediawiki-1.14.0.patch
 * 1) Patch SpecialUpload.php. Copy mediawiki-1.14.0.patch to your base mediawiki installation directory and run patch -p0 < mediawiki-1.14.0.patch</tt>
 * 1) Patch SpecialUpload.php</tt>. Copy mediawiki-1.14.0.patch</tt> to your base mediawiki installation directory and run patch -p0 < mediawiki-1.14.0.patch</tt>

In the sidebar
To add a link to the sidebar by editing MediaWiki:Sidebar, adding a new line:
 * ** Special:MultipleUpload|multipleupload ("upload files") or
 * ** Special:MultipleUpload|multiupload-toolbox ("Upload multiple files").

Replacing 'Upload file' with MultiUpload in the sidebar
In the localsettings.php file, right below the last require_once line add:

Setting the maximum number of files to upload

 * To set the number of files to upload at once, Configure $wgMaxUploadFiles</tt> in your local settings file, the default setting is 5. The $wgMaxUploadFiles</tt> statement must be made after the require_once</tt> call.  For example:


 * In 1.16  from http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions

Messages
You can change the messages of this extension through pages of MediaWiki namespace starting with multipleupload. For example,  </tt> is the message displayed on MultipleUpload special page.

Other messages are: multipleupload / multipleupload-desc / multipleupload-ignoreallwarnings / multipleupload-saveallfiles / multipleupload-addresswarnings / multipleupload-page / multiupload-fileuploaded / multiupload-toolbox</tt>

Bugs and enhancements
Bugs or feature requests can be sent to the author at ext @ wikihow.com.

License
Copyright 2006 Travis Derouin, wikiHow

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA

Author
Travis Derouin (ext @ wikihow.com), wikiHow