MediaWiki integrates files you upload fairly easily. However, by default the ability to upload files is disabled. In this guide, you can learn how to enable file uploads in MediaWiki
Using an FTP client or cPanel’s File Manager, locate and edit the file named LocalSettings.php. This file, by default, is located in the root directory for your MediaWiki installation.
## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; #$wgUseImageMagick = true; #$wgImageMagickConvertCommand = "/usr/bin/convert";
Modify the false value to true and be sure to save your changes.
Congratulations! Now, you know how to enable file uploads in MediaWiki. To learn more about using images in MediaWiki, be sure to check out our guide on how to insert images into MediaWiki.