sharmishtha gupta schreef:
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;-
- which are present into the mediawiki database
- 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.
You can block account creation for *everyone* by adding
$wgGroupPermissions['*']['createaccount'] = false;
to LocalSettings.php. Your wrapper stuff would have to be worked to an AuthPlugin, but I don't really know much about that framework. Maybe someone else does.
Roan Kattouw (Catrope)