Allow uploading files to MediaWiki

progone
  13 years ago
  1

 

To allow uploads to your Mediawiki page; try this.

 

1. You will have to know where your Mediawiki LocalSettings.php file is. I will give you to examples of where it might be.

In terminal type:

 

gedit /usr/share/mediawiki/LocalSettings.php

 

or

edit /var/www/mediawiki/LocalSettings.php

location could be any other place, if you can't find it, please use your menu--> Accessories --> Search For Files. Once you open the app up, search for mediawiki or LocalSettings.php . A word of warning, Several LocalSettings.php files maybe on your server. To save time make sure is is under the mediawiki folder.

2. find: $wgEnableUploads = false; # Enable uploads (hint: it is around line 87) and change it to

$wgEnableUploads = true; # Enable uploads

table style="width:auto;">

 

 

 

From Linux-Mint-help

 

 

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

save and close