[Mediawiki-l] enabling image upload ?

Hínandil hinandil at freespirits.org
Mon May 9 19:16:23 UTC 2005


P. Barthelemy wrote:
> A bit ashamed to ask an obvious question : how do I enable file upload, 
> so that I can add images to my wiki ?
> 
> upload is disabled by default, I did not find anywhere how to enable it...

That is a bit of a lame question, but we'll answer it anyway.  :)

Most of your customizations, the ones that aren't set in the database, 
anyway, are defined through your LocalSettings.php file.  This is a 
normal text file, so just get your favorite editor.  You can add lines 
from includes/DefaultSettings.php to LocalSettings.php and edit those to 
customize your wiki however you like.

In this case, the line (something like $wgDisableUploads = true;) is 
already in there and just waiting for you to change the value to 
"false".  Don't forget to keep the semicolon at the end.

You may want to backup that file before you go stomping around in there. 
  I know I've wanted to have done that *after* I've been stomping.

Good luck, and never underestimate the power of the handbook on 
meta.wikipedia.org!

Hínandil



More information about the MediaWiki-l mailing list