Extension:MultiUpload

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
العربية • ‎বাংলা • ‎català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎मराठी • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎sicilianu • ‎中文
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
MultiUpload

Release status:Extension status unmaintained

MultiUpload Screenshot - Ghost.png
ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Allows users to upload more than one file at a time
Author(s)Template:Extension#username Lee Worden (originally by Travis Derouin)
Latest versionTemplate:Extension#version 3.1 (2017-01-28)
MediaWikiTemplate:Extension#mediawiki 1.28+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
README
ParametersTemplate:Extension#parameters
  • $wgMultiUploadInitialNumberOfImportRows
  • $wgMultiUploadTempDir

Translate the MultiUpload extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The MultiUpload extension allows users to upload more than one file at a time. It also unpacks package files (.zip, .tar, .tar.gz, and .tgz), allowing the files found in the package to be uploaded to the wiki.

Installation[edit]

  • Download and place the file(s) in a directory called MultiUpload in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'MultiUpload' );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
For this extension to work, you have to have already allowed uploads on your wiki, see Manual:Configuring file uploads.

Options[edit]

Creating links to the extension[edit]

In the sidebar[edit]

To add a link to the sidebar by editing MediaWiki:Sidebar, adding a new line:

** Special:MultiUpload|multiupload ("upload files")

or

** Special:MultiUpload|multiupload-toolbox ("Upload multiple files").
In both examples of adding links to this extension in MediaWiki:Sidebar, if only "multipleupload" or "multipleupload-toolbox" shows in the sidebar, you may have to navigate in your wiki to "MediaWiki:Multipleupload" or "MediaWiki:Multipleupload-toolbox" and create the pages with the messages that are already shown.

Replacing 'Upload file' with MultiUpload in the sidebar[edit]

In the LocalSettings.php file, right below the last require_once line add:

$wgUploadNavigationUrl = "{$wgScriptPath}/index.php?title=Special:MultiUpload";

Messages[edit]

You can change the messages of this extension through pages of MediaWiki namespace starting with multipleupload. For example, [[MediaWiki:Multiupload-text]] is the message displayed on MultipleUpload special page.

Other messages are:

  • multiupload-submit
  • multiupload-uploadedto
  • multiupload-row-name-base
  • multiupload-unpack-button
  • multiupload-notify-ok
  • multiupload-upload-package-error
  • multiupload-unpack-error
  • multiupload-http-error
  • multiupload-file-unpacked-from

See also[edit]