Mediawiki setup
Things to edit in Localsettings.php
Restricting edits only to registered users:
$wgGroupPermissions['*']['edit'] = false;
Disable new users from registering
$wgGroupPermissions['*']['createaccount'] = false;
Restrict all pages but a few readable by the registered users
$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help"); $wgGroupPermissions['*']['read'] = false;
Creating another wiki on the same webserver
- create a new directory (say wiki2) in the document root.
- lndir the /opt/mediawiki to the new directory,
- assign the appropriate permissions to directories and
- visit the wiki (http://localhost/wiki2) for configuration. Make sure that the database name, user and table prefix are different for this wiki.