PDA

View Full Version : Mediawiki file upload issue


septimontium
10-05-2006, 08:46 AM
I am trying to change the settings on my wiki so that I can upload files to the wiki, but I don't know how. While Im at it, I also need to make settings for who can edit what pages site-wide. Any help, please???

Brandon
10-05-2006, 06:33 PM
It's a bit tricky, but possible :) There is a file named LocalSettings.php in your MediaWiki folder. Opening it trough your cPanel's file manager and finding this row:

$wgDisableUploads = false;

and changing it to

$wgDisableUploads = true;

will enable the option for uploading images. However, you will have to create a folder named images, under your MediaWiki folder and make sure that it is writable, in order for the uploads to be successful.