[Mediawiki-l] Use Special:UserLogin as Main Page

Jason Spirko jspirko at xorantech.com
Wed Aug 1 01:13:05 UTC 2007


I'm sorry, my intentions were not to mislead anybody. I was looking for a
way to make users login first, then be directed to the wiki. 

I apologize for any confusion. I am new to MediaWiki and PHP. I'm struggling
to get this up and running for my company and implement the features they
would like to see.

I appreciate the help you all have given me so far.

Jason Spirko
Systems Administrator
Xoran Technologies Inc.

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Rob Church
Sent: Tuesday, July 31, 2007 5:25 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Use Special:UserLogin as Main Page

On 31/07/07, Jason Spirko <jspirko at xorantech.com> wrote:
> Can they be sent directly to the login page if they are not logged in?

If that's what you want, then your original question was very misleading,
although this makes more sense.

IIRC, the OutputPage::loginToUse() method is what needs to be modified here;
set it to redirect straight to the login page (or just instantiate the
Userlogin special page and call its execute() method).

Rob Church

MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org

This message (including any attachments) contains confidential and proprietary
information intended only for the addressee. If you are not the intended recipient, 
please notify the sender immediately by responding to this e-mail, and delete 
this message and attachments from your system. If you have any questions 
about this e-mail please notify the sender immediately. Any unauthorized 
disclosure, copying, distribution or reliance on the contents of this information 
is strictly prohibited and may constitute a violation of law. 

More information about the MediaWiki-l mailing list