Damien,
I use the following in LocalSettings.php:
$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" ); $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['createtalk'] = false;
This effectively locks down the wiki to anyone not logged in. We have a very small userbase that rarely changes, so I don't mind having to manually create the accounts. Obviously if you want anonymous users to have read access you'd change it to true.
JT
----- Original Message ---- From: Damien Hull dhull@digitaloverload.net To: MediaWiki announcements and site admin list mediawiki-l@wikimedia.org Sent: Tuesday, November 28, 2006 10:55:55 PM Subject: [Mediawiki-l] Hiding the "edit" link
How do you hide the "edit" link to people who are not logged in?
I know it can be done because I've done it before. Unfortunately I don't remember what I did. I checked the LocalSettings.php file and didn't find anything. I'm using version 1.8.2.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com