[Mediawiki-l] Hiding the "edit" link
JTAutry
jtautry at yahoo.com
Wed Nov 29 15:37:34 UTC 2006
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 at digitaloverload.net>
To: MediaWiki announcements and site admin list <mediawiki-l at 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 at 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
More information about the MediaWiki-l
mailing list