[Mediawiki-l] anonymous access
Helmut Schneider
jumper99 at gmx.de
Wed Mar 5 11:09:49 UTC 2008
Helmut Schneider <jumper99 at gmx.de> wrote:
> I'm using the LDAP extension to control access which works fine. I would
> like anonymous users to be able to see specific sites. From the web I
> found the following snippets:
>
> # This snippet prevents new registrations from anonymous users
> # (Sysops can still create user accounts)
> $wgGroupPermissions['*']['createaccount'] = false;
>
> # This snippet prevents editing from anonymous users
> $wgGroupPermissions['*']['edit'] = false;
>
> # Enable anonymous access to specific pages
> $wgWhitelistRead = array( "Main Page", "Special:Userlogin",
> "Help:Contents", "-", "MediaWiki:Monobook.css" );
> $wgWhitelistRead = array( "Hauptseite", "Spezial:Userlogin", "-",
> "MediaWiki:Monobook.css" );
> $wgGroupPermissions['*']['read'] = false;
>
> Unfortunately this doesn't work, the pages above still require a valid
> login.
>
> What do I have to set?
Dump noob question? RTFM? Should work as posted? Any reply is welcome...
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn
More information about the MediaWiki-l
mailing list