[Mediawiki-l] A Mediawiki for registered users only.

Gordon Joly gordon.joly at pobox.com
Wed Nov 16 17:49:40 UTC 2005





I have started to create a Mediawiki for use only by registered users.

I have set the following in Localsetting.php

$wgWhitelistRead = array ( "Main Page", "Special:Userlogin", "Wikipedia:Help");

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

$wgGroupPermissions['user' ]['move']            = true;
$wgGroupPermissions['user' ]['read']            = true;
$wgGroupPermissions['user' ]['edit']            = true;
$wgGroupPermissions['user' ]['upload']          = true;

I have also set a timeout (returns to MainPage) to 600 seconds (was 10).

$wgOut->addMeta( 'http:Refresh', '10;url=' . $titleObj->escapeFullURL() );


How do I stop the standard search engine from giving some (very 
limited access) to reading the text inside the wiki to non-logged in 
users?

T.I.A.

-- 
Gordo (aka LoopZilla)
gordon.joly at pobox.com
http://pobox.com/~gordo/
http://www.loopzilla.org/



More information about the MediaWiki-l mailing list