[Mediawiki-l] Blocking people from viewing the Wiki unlessregistered

Simon Renshaw simon at castortech.com
Tue Mar 21 20:46:52 UTC 2006


Many thanks!

I will try that.

Simon

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Rob Church
Sent: 21 mars, 2006 15:45
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Blocking people from viewing the Wiki
unlessregistered

$wgWhiteListRead = array( "Special:Userlogin" );


Rob Church
On 21/03/06, Simon Renshaw <simon at castortech.com> wrote:
> Hi,
>
> I'm having a small permissions problem.
>
> My Wiki contain private information so I want to control who can see it.
>
> I added the following line to my LocalSettings.php.
>
>   $wgGroupPermissions['*'    ]['createaccount']   = false;
>   $wgGroupPermissions['*'    ]['read']            = true;
>   $wgGroupPermissions['*'    ]['edit']            = false;
>
> The first line allow me to create accounts as needed.
>
> If I change the read permission to false, you can't read the site unless
> you're logged in. This is what I want. The problem is that you can't
> even see the login page!
>
> Is there any way to make the login page the only viewable page while not
> logged in?
>
> Thanks!
>
> Simon
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


More information about the MediaWiki-l mailing list