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 database
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@rockwellcollins.com <amuenzeb@rockwellcollins.com > wrote:
mediawiki-l-bounces@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@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l