I was just looking at a very similar problem. After looking through the code, it appears
to me that MW just stores a UID in a session variable. So it seems if you modified your
login/logout scheme to set this variable, you'd be effectively integrated.
From that point you'd have to decide how to manage
MW cookies. I'm thinking about just disabling MW auth cookies and redirecting to my
own login scheme upon failure to detect a valid session ID.
Prior to doing this, you'd need to disable the MW new user signup feature, and hack
your own new user signup to write the account information to the MW user database.
I'm more than open to have this line of reasoning critiqued. I'm not crazy about
this approach but it's the best I can envision given the stock products involved (I
intend to work with vBulletin).
-----Original Message-----
From: Philip Gabbert <wiki(a)gpcentre.net>
Sent: Apr 17, 2005 7:46 PM
To: MediaWiki List <mediawiki-l(a)Wikimedia.org>
Subject: [Mediawiki-l] Current site integration
I currently run a site with a custom build session login/out with an
already built access/auth system.
I'm wondering if there's a simple way to integrate MediaWiki? I can
see it's user tables are rather simple, but I'd prefer to have a
central login, not two locations of user account login information
(security/consistency sakes).
I'd like to MediaWiki to use my login/out schema and I can use MW's
own auth system by simply writing the data it expects to WM's user
table.
Has anybody had any experience in this matter? I didn't see anything
off hand through my reading in the Administrators or "hack wiki"
section of the MediaWiki's help section.
Thanks ahead of time.
--
Philip wiki(a)gpcentre.net
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l