Extension:MultiUpload

The MultiUpload extension allows users to upload more than one file at a time, it tries to reuse as much functionality in Special:Upload as possible.

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

Configuration & Installation

 * Note: You have to have already set up uploads to work properly on your wiki. (For more information on this, see Manual:Configuring file uploads)


 * 1) Download the extension files
 * 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) 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>

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:

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.