Extension:MsUpload

The MsUpload extension allows users to drag & drop upload multiple files from any mediawiki edit page.


 * MsUpload allows an editor to :
 * Easily upload one or multiple files simultaneously.
 * File upload integrated in the edit page.
 * Upload via drag and drop (if HTML5 is available in browser).
 * Add the file into the edit page as a link.
 * Change the name of the file before uploading.
 * Add files to the current category
 * Add the files into the edit page as a gallery

Installation

 * Download and place the MsUpload files in a directory called  in your extensions/ folder.
 * Add the following code to the bottom of your LocalSettings.php file:


 * Install the WikiEditor extension
 * Enable WikiEditor's "enhanced editing toolbar":
 * either for all users by adding: to LocalSettings.php
 * or each user must do so in Preferences → Editing → Enable enhanced editing toolbar

Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

MediaWiki versions earlier than 1.25 or problems with version 1.27

 * See Known issues below.

Configuration
An editor can embed the files into the editor as a list of MsLinks with Extension:MsLinks.

Extension features
Below are the special extension features that you can set in your LocalSettings.php:

Relevant global configuration variables
Below are some of the relevant global configuration variables that you can set in your LocalSettings.php:

Configuration with PdfHandler
Extension:PdfHandler allows an editor upload PDF files and automatically generates thumbnails and image files.

MsUpload can add images to a page. However, MsUpload does not allow PDFs to be displayed as images. To add images to a page, edit the   file. Search for  in the file and add the line   to it.

Recent changes



 * Version 10.0
 * Code structure and style updated to 2014 standards
 * Bugfixing


 * 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

Installing an earlier version of MsUpload
Many editors state that MsUpload versions 1.27, 1.28, 1.29 does not work on Mediawiki 1.27.

Also, this extension no longer works for Mediawiki 1.25 and earlier.


 * Solution:
 * IMPORTANT Disable Extension:WikiEditor in
 * Add  in Localsettings.php
 * Downloading and installing the 1.25 version of Extension:MsUpload on Github:
 * On the MsUpload/tree/REL1_25 page, click the Github clone or download button.png button
 * In the drop down menu, select the   button.
 * The Zip file  will download to your desktop
 * Open the Zip file
 * Download and place the files in the   folder in a directory called   in your extensions/ folder.

Done Navigate to Special:Version on your wiki to verify that MsUpload 1.25 is successfully installed.

You should know

 * Without HTML5 support Adobe Flash is used
 * The maximum file size depends on MediaWiki settings but a lower limit may be set.
 * Uses the plupload upload handler, which comes included with the extension
 * Adds an upload icon to the editor and WikiEditor.

This file did not pass file verification
If this appears: "This file did not pass file verification" add the following to LocalSettings.php

If this is not enough additionally set the following in LocalSettings.php (works for MW 22 & 24)

If you still cannot upload "ppt" files, try to save them as "pptx" and upload the "pptx" version.