Mediawiki installed

Since I have not been able to get any advice on what might be a better OS wiki to host here I have  installed Mediawiki using the 34SP Mediawiki installation utility. The necessary database and db user have to be set up first but after that all the required information,domain,  ftp, e.g.,  is entered into the installation form including a password for the Mediawiki admin account that will be created and the process takes place automatically. The resulting installation is fully public and open to user account creation on demand and anonymous editing but this is soon secured by adding the appropriate lines to the localSettings .php file. This following disables anonymous editing and account creation.

$wgGroupPermissions['*' ]['read'] = true;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createaccount'] = false;

The first line allows public reading of pages but changing this to false would mean that only logged on users can read. I have left pages publicly readable and will protect pages as required using the control access feature.

I also tried to change the default logo by uploading a new logo image and adding  the

$wgLogo = ‘/path/to/your/logo.png’;

to the localSettings .php file but I couldn’t get this to work. The new log failed to display. This may be something to do with paths and permissions and I will have another go later. Another approach will be to overwrite the skins/common images/wiki.png with my own logo file but this will need redoing every time I upgrade and is not recommended.

Post a comment

Copyright © terrywassall.org
work in progress

Built on Notes Blog Core
Powered by WordPress