wikifab / mms-upload
Installs: 1 989
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Type:mediawiki-extension
Requires (Dev)
- dev-master
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.0
- dev-ticket-1450
- dev-ticket-1298
- dev-julien
- dev-ticket-1315
- dev-ticket-1306
- dev-ticket-1066
- dev-ticket-913
- dev-ticket-842
- dev-version2
- dev-ticket-738
- dev-ticket-743
- dev-features/MediaGallery
This package is auto-updated.
Last update: 2025-01-23 02:38:16 UTC
README
Installation
To install MsUpload, add the following to your LocalSettings.php:
If necessary, adjust the global configuration:
$wgEnableWriteAPI = true; // Enable the API $wgEnableUploads = true; // Enable uploads $wgFileExtensions = array('png','gif','jpg','jpeg','doc','xls','mpp','pdf','ppt','tiff','bmp','docx','xlsx','pptx','ps','odt','ods','odp','odg'); $wgAllowJavaUploads = true; // Solves problem with Office 2007 and newer files (docx, xlsx, etc.) $wgVerifyMimeType = false; // May solve problem with uploads of incorrect mime types
Then load the extension and configure it as needed. The values shown below are the defaults, so they may be omitted:
wfLoadExtension( 'MsUpload' ); $wgMSU_useDragDrop = true; $wgMSU_showAutoCat = true; $wgMSU_checkAutoCat = true; $wgMSU_useMsLinks = false; $wgMSU_confirmReplace = true; // Show the "Replace file?" checkbox $wgMSU_imgParams = '400px';
Advanced configuration for wikifab-like : $wgMSU_wrapperClass = ''; $wgMSU_secondaryWrapperClass = ''; $wgMSU_useDragDropAllContainer = true;
wrapperClass is used to name a class to automaticaly set upload on it Configuration to activate it an a wikifab site (without PageMediaGallery extension) : $wgMSU_wrapperClass = 'sfImagePreviewWrapper'; $wgMSU_useDragDropAllContainer = false;
Credits
- Developed and coded by Martin Schwindl (wiki@ratin.de)
- Idea, project management and bug fixing by Martin Keyler (wiki@keyler-consult.de)
- Updated, debugged and enhanced by Luis Felipe Schenone (schenonef@gmail.com)
- Some icons by Yusuke Kamiyamane (http://p.yusukekamiyamane.com). All rights reserved. Licensed under a Creative Commons Attribution 3.0 License.