On 9/2/05, Bass, Joshua L <joshua.l.bass(a)lmco.com> wrote:
For 1.5 mediawiki add this to your Localsettings.php.
It will allow only
registered members to read and edit the wiki and prevent newcomers from
registering:
$wgGroupPermissions = array();
Watch out. This clears the permissions array; see below.
I'd recommend removing this line.
$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;
There's no "sysop" entries in there. If you use this code, sysops
won't have any special permissions. Thus, there will be no type of
user allowed to delete pages. I doubt this is what you want.
-- Josh
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Aaron Crayne
Sent: Friday, September 02, 2005 10:39 AM
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] How to Temp. Disable Wiki.
Is there a way I can install a wiki, but disable it for casual visitors
until we have most of our content and templates added. We have been
preparing to install a new wiki at its own domain, we have a lot of
documents (that are unfortuneatley not in a sql dump), templates,
graphics etc that are all part of it. It would be nice to have the time
to get all of our info inplace before we open the doors.
Thanks
Aaron
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l