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.
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?
If not, do we have any extension/hook for the very purpose?
Thanks in advance
sharmishtha gupta schreef:
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.
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?
If not, do we have any extension/hook for the very purpose?
Thanks in advance _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
What you *can* do, is display a standard error page when anonymous users try to view pages. For this, see http://www.mediawiki.org/wiki/Manual:Preventing_access#1.5_upwards_3 . You can then edit the MediaWiki:whitelistreadtext and MediaWiki:whitelistreadtitle to customize the error message.
Roan Kattouw (Catrope)
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, Roan Kattouw roan.kattouw@home.nl wrote:
sharmishtha gupta schreef:
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.
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?
If not, do we have any extension/hook for the very purpose?
Thanks in advance _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
What you *can* do, is display a standard error page when anonymous users try to view pages. For this, see http://www.mediawiki.org/wiki/Manual:Preventing_access#1.5_upwards_3 . You can then edit the MediaWiki:whitelistreadtext and MediaWiki:whitelistreadtitle to customize the error message.
Roan Kattouw (Catrope)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
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)
wikitech-l@lists.wikimedia.org