

The MediaWiki configuration files had to be manually adjusted to allow the large-sized. You can add these lines anywhere after the line starting with require_once and before the ?> at the end of the file.Ĭertain file types, such as. Download scientific diagram File upload utility of MediaWiki.

#MEDIAWIKI FILE UPLOADS PDF#
pdf in this example) you would like to allow your site to upload. To upload more file types, you will also need to add lines such as $wgFileExtensions = 'doc' įor each extension (.doc and. Just add the following to the MediaWiki file and run php composer.phar update mediawiki/. MediaWiki by default allows uploads of images with the following extensions: png, gif, jpg, and jpeg. You need use Composer to install this extension.

Just add the following line a the bottom of LocalSettings.php wgArticlePath '/wiki/1' and update /etc/httpd/conf.d/ssl.conf by adding one line. To enable uploads, edit the LocalSettings.php file in your MediaWiki install directory, and change the line reading $wgEnableUploads = false to $wgEnableUploads = true. Since we want to access our Mediawiki installation under we need to set wgArticlePath in LocalSettings.php. How do I enable file uploads to my MediaWiki?
