Wiki-, upload files- and php.ini-questions

Hi. Yesterday I registrated a Dreamhost account. I installed the Mediawiki software via the one-click-installation. Everything worked fine, but when I wanted to upload a file (image) to my wiki, I found out that file upload was disabled by default in Mediawiki.

I started to read on Mediawikis wiki. I found this article:

Well, I don’t understand what it is I’m supposed to do to enable file uploads on my wiki. I really need it to be working. What am I supposed to do? Do I have to change any MySQL files? I’m very, very green on such a things.

Can anyone please explain to me what I am supposed to do? I’d be very happy, and even more happy if you could answer in Swedish (I’m a Swede), but I guess that is to ask for to mcuh…

All you need to do is open LocalSettings.php

and add or change this this lines

To enable image uploads, make sure the ‘images’ directory

is writable, then set this to true:

$wgEnableUploads = false;

change the false for true and you’re done…

Also if you need to upload more things than images only you need to define what files do you allow.

For example I use:
$wgFileExtensions = array(‘png’, ‘gif’, ‘jpg’, ‘jpeg’, ‘doc’, ‘xls’, ‘pdf’);


use VICM3 for a full 97USD discount on your first year!

Thank you so much! :slight_smile:

Well, now I’m going to get ready for the WWDC 2007, won’t miss Steve Jobs speach.