HEELPBOOK - How to allow any file type upload (MediaWiki) ###################### Just go into your LocalSettings.php file and add these lines (or change their values if the variables are already mentioned in this file): $wgCheckFileExtensions = false; $wgVerifyMimeType = false; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' ); Note: you'll need only these three variables to unrestrict file types upload process...but if you want to control some file types extensions you could use the following variables: $wgStrictFileExtensions = false; $wgFileBlacklist = array(); $wgMimeTypeBlacklist= array(); This approach could be useful if your MediaWiki installation is only for your own personal use and you are sick and tired of it telling you couldn't upload this and that file type. Note that if a file extension is listed in the variable $wgFileBlacklist then it doesn't matter how you change the other variables, it will be blocked! ############ ARTICLE INFO ############# Article Month: December Article Date: 20/12/2012 Permalink: http://heelpbook.altervista.org/2012/how-to-allow-any-file-type-upload-mediawiki/ Source: http://www.answermysearches.com/how-to-make-mediawiki-allow-all-file-types/193/ Language: English View more articles on: http://www.heelpbook.net/ Follow us on Facebook: http://it-it.facebook.com/pages/HeelpBook/100790870008832 Follow us on Twitter: https://twitter.com/#!/HeelpBook Follow us on RSS Feed: http://feeds.feedburner.com/Heelpbook Follow us on Delicious: http://delicious.com/heelpbook Linkedin: http://it.linkedin.com/pub/stefano-maggi/27/73a/b20 Google+ : https://plus.google.com/116990277568167008289/posts