Stick it to THE MAN
Stick it to THE MAN

Reputation: 5701

MediaWiKi User Registration

I have a website developed in symfony (1.2.9). I want to add a wiki to the website, and have opted for mediawiki.

I want to integrate mediawiki with my website in a way such that:

  1. media wiki does not create new users
  2. users logged into my website are automatically logged into mediawiki (and vice versa)
  3. ideally, I want to use the same login process (i.e. screen) for both my website and mediawiki

I have spent a few hours trawling the web on how to do this, and have found nothing. Hopefully someone on here may have done this before, or atleast, can shed some light on how to do this.

Upvotes: 2

Views: 406

Answers (3)

flamusdiu
flamusdiu

Reputation: 1742

You could extend the AuthPlugin by doing:


class myauth extends AuthPlugin {
     ...
}

Or as above: use OpenID logins for both.

Upvotes: 0

ChristopherDBerry
ChristopherDBerry

Reputation: 1772

I am looking for the same thing with Django. I suspect it will involve hacking the underlying tables.

User creation is NOT supported through the API:

http://www.mediawiki.org/wiki/API:Edit_-_Register_new_user

Upvotes: 0

YOU
YOU

Reputation: 123841

If your website and mediawiki runs in same domain, you could consider using OpenID.

MediaWiki have extension for it and seems for symfony too.

Upvotes: 3

Related Questions