[Mediawiki-l] Antwort: restrict anonymous views in mediawiki

sharmishtha gupta sharmishtha.gupta at gmail.com
Thu Jan 10 12:45:50 UTC 2008

We are including mediawiki application into one existing site.
for this we made one wrapper to check the authenticity of the user from
existing site,
We want to allow only two types of users;-
1. which are present into the mediawiki database
2. which are authentic according to our wrapper but new to mediawiki

problem is, if someone directly gives mediawiki path to the browser then he
can easily click " create account" and login into mediawiki.

How we prevent this anonymous user to login into mediawiki.

On 1/10/08, amuenzeb at rockwellcollins.com <amuenzeb at rockwellcollins.com >
> mediawiki-l-bounces at lists.wikimedia.org schrieb am 10.01.2008 10:55:35:
> > We wish to restrict anonymous views to our mediawiki installation. Every
> > unauthorized user is to be redirected to a particular page. This page
> > may not be a wiki page.
> >
> > Can we do this using LocalSettings.php?
> $wgGroupPermissions['*'    ]['read']            = false;
> $wgGroupPermissions['user' ]['read']            = true;
> prevents anonymous users from reading. You can exclude some pages using a
> whitelist:
> $wgWhitelistRead =
> array('Spezial:RequestAccount','Special:RequestAccount','Hauptseite');
> > If not, do we have any extension/hook for the very purpose?
> HTH,
>        Arnd
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list