build: Updating mediawiki/mediawiki-codesniffer to 18.0.0

Change-Id: I81da5fd8392a62d2f5dd235f257f21ca10db4684
1 file changed
tree: 95cd8c98a2d1a286238373fd26c5ec9ac37bbfd1
  1. .gitignore
  2. .gitreview
  3. .jscsrc
  4. .jshintrc
  5. .phpcs.xml
  6. CODE_OF_CONDUCT.md
  7. COPYING
  8. Gruntfile.js
  9. MsUpload.body.php
  10. MsUpload.css
  11. MsUpload.js
  12. MsUpload.php
  13. README.md
  14. composer.json
  15. extension.json
  16. i18n/
  17. images/
  18. package.json
  19. plupload/
README.md

# MsUpload

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

Credits