Extension:MsUpload

The MsUpload extension allows to upload multiple files via the editor including drag&drop.


 * MsUpload functions in detail:
 * easy uploads for one or multiple files simultaneously
 * file upload integrated in the editor
 * upload via drag&drop (if html5 is available in browser)
 * embedd the file into the editor as a link
 * change the name of the file before uploading




 * Additional functions
 * add files to the current category
 * embedd the file into the editor as file-link (you need Extension:MsLinks)
 * embedd the file into the editor as image-gallery


 * You should know
 * without html5 support a flash fall-back is used
 * maximum filesize depends on Mediawiki settings but an additional limit may be set for this extension
 * uses the plupload - upload handler (plupload.com)
 * adds a upload icon to the editor (also to WikiEditor)

Recent Changes

 * Version 9.5.1
 * Bugfixing


 * Version 9.5
 * Image preview
 * Improved CheckFiles function
 * Bug-fixing ie8
 * File instead of Image for gallery
 * Old sajax functions replaced by $.ajax/$.get
 * Removed function SpecialUpload::ajaxGetExistsWarning replaced by API request
 * Plupload 2.0 implemented
 * Lithuanian language (Vitas Povilaitis)
 * Hebrew language (JNF)
 * French language (Marc MORA)


 * Version 9.4
 * Drop-Zone can be disabled in LocalSettings
 * An image-thumbnail will be displayed after upload
 * Mediawiki-API for text-insertion is used
 * Clear-all link added (remove all uploaded files from list)


 * Version 9.3
 * Bug-Fix IE
 * Tested in mw1.20.2
 * Plupload 1.5.5
 * Japanese language (Kouichi Nishizawa)
 * Italian language (teokraba)
 * Spanish language (Hernan Hegykozi)
 * New upload icon

Installation
To install this extension:


 * 1) Download the extension here, and extract the files to your mediawiki extensions folder.


 * 1) Add the following to LocalSettings.php:

Extension specific parameters

 * If true: files uploaded within a category will be added to this category.


 * You can define whether the checkbox for above mentioned case is checked or unchecked as default.


 * If true, a status-div will show which mode is actually running (HTML5/Flash) and whether drag&drop is supported.


 * The default max-size for an inserted image.


 * Should the drag&drop area be shown?

Standard configuration parameters
With adding following to LocalSettings.php you can change the global upload settings:

Configuration with PdfHandler Extension
PdfHandler allows to upload PDF files and automatically generates thumbnails and image files. MsUpload offers to include pictures to a page. However, MsUpload does not allow PDFs to be displayed as images. In order to enable this edit msupload.js and add "case 'pdf':" to switch(file.extension)

Known issues

 * 1) When this shows up: "This file did not pass file verification" add the following to LocalSettings.php