Extension:MultiUpload

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:MultiUpload and the translation is 32% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎русский • ‎العربية • ‎मराठी • ‎বাংলা • ‎中文 • ‎日本語
Manuel des extensions MediaWiki
OOjs UI icon advanced.svg
MultiUpload
État de la version : non-maintenu
MultiUpload Screenshot - Ghost.png
Implémentation Special page
Description Allows users to upload more than one file at a time
Auteur(s) Lee Worden (originally by Travis Derouin)
Dernière version 3.1 (2017-01-28)
MediaWiki 1.28+
Changements
base de données
Non
Licence GNU General Public License 2.0 or later
Téléchargement
README
Paramètres

  • $wgMultiUploadInitialNumberOfImportRows
  • $wgMultiUploadTempDir
Traduisez l’extension MultiUpload sur translatewiki.net
Vérifiez la matrice des utilisations et des versions.
Problèmes Tâches ouvertes · Signalez un 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

  • Téléchargez et placez le(s) fichiers (s) dans un répertoire appelé MultiUpload dans votre dossier extensions/.
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php :
    wfLoadExtension( 'MultiUpload' );
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.
For this extension to work, you have to have already allowed uploads on your wiki, see Manual:Configuring file uploads.

Options

Creating links to the extension

In the sidebar

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

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

ou

** 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

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

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

Messages

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

Voir aussi