I am currently doing something similar; I am integrating MediaWiki with
an existing website. Users should automatically be logged in when
navigating to the wiki. All authentication stuff will be done in an
external database; as well as the cookiemanagement. This is a lot of
work; especially using 1 cookie instead of 2 (the sign-on to the wiki
must be transparant). The best place to start is User::loadFromSession;
where I am currently adding the code to add the user to the wiki
database, and validate the external cookie. I have also modified
includes/SpecialUserlogin.php and includes/SpecialUserlogout.php to
disallow registration of new users using the Wiki interface.
I will keep you updated on my progress.
Sjon / Spider.007
Brion Vibber wrote:
Beans-v6 wrote:
I'd like to integrate phpBB's user
database with my wiki's user database
so my users do not have to register twice. I'm using MediaWiki
1.2.4beta6 (yes I know it's not the newest).
urrrrghhhhhh :D
I've looked at the login code, and I
can't see an immediately easy way
to do it. I assume I would use the phpBB database for both, but I can't
think of how to integrate the session IDs of phpBB and the cookies of
MediaWiki correctly.
Look at the AuthPlugin interface in 1.4.
-- brion vibber (brion @
pobox.com)
------------------------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l