Skip to content

Github mirror of MediaWiki extension MsUpload - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

License

Notifications You must be signed in to change notification settings

Wikia/mediawiki-extensions-MsUpload

 
 

Repository files navigation

MsUpload

Installation

To install MsUpload, add the following to your LocalSettings.php:

If necessary, adjust the global configuration:

$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';

Credits

About

Github mirror of MediaWiki extension MsUpload - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.9%
  • Less 16.4%
  • PHP 6.7%