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.
Gordon Joly wrote:
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?
Whoops!
Here's the fix: http://leuksman.com/misc/search-whitelist-fix-1.5.diff
Applied to CVS HEAD and REL1_5, will be in 1.5.3.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org