All,
I'm trying to get media wiki to force all users to log in. I've whitelisted the user login page, which redirects the user to an error page with a link to the specialuserlogin. However, I'd like the user to be presented with the log-in page directly. I have been unable to figure out how to do this and would appreicate some assistance.
thx, Eric
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
A very messy and not necessarily recommended workaround might be to turn the main page into a redirect to Special:Userlogin.
Rob Church
On 07/11/05, Eric zericm@yahoo.com wrote:
All,
I'm trying to get media wiki to force all users to log in. I've whitelisted the user login page, which redirects the user to an error page with a link to the specialuserlogin. However, I'd like the user to be presented with the log-in page directly. I have been unable to figure out how to do this and would appreicate some assistance.
thx, Eric
Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I'm trying to get media wiki to force all users to log in. I've whitelisted the user login page, which redirects the user to an error page with a link to the specialuserlogin. However, I'd like the user to be presented with the log-in page directly. I have been unable to figure out how to do this and would appreicate some assistance.
What about changing the value of "Loginreqtext" in the database? Put in a meta-refresh tag like <META http-equiv="refresh" content="5;URL=/index.php/Special:Userlogin">
Not sure if this would work - or if the meta tag would get munged by the wiki-to-html process.
You could always modify the code to redirect instead of displaying the error message.
- Cameron
mediawiki-l@lists.wikimedia.org