Help with WordPress and MediaWiki integration

As a user of co.mments, you register for an account on the co.mments.com Web site so we can let you track comments wherever you go. If you want to start a new topic of discussion on the blog, you register on blog.co.mments.com. If you want to add content to the Wiki (with attribution), you register on wiki.co.mments.com.

What … a … pain.

I don’t like multiple registrations. People I know don’t like multiple registration. It’s annoying and confusing and wastes time. There must be a better way.

Does anyone have experience with WordPress and MediaWiki? I need a solution so users can register exactly once, and have accounts in all three services.

11 Responses to “Help with WordPress and MediaWiki integration”

  1. Eran Sandler

    Have you checked out OpenID (http://openid.net/)?

    I don’t know if there is an integration with Wikimedia.
    There is something for WordPress (http://www.scatmania.org/archives/2005/08/06/openid-for-wordpress/) though I don’t know it state and if it even works on WP 2.0.

  2. Assaf

    I looked at OpenID before. I like how they kept it simple, decentralized and focused on the users. It’s everything Passport/Liberty are not.

    But it won’t unify the comment tacking, blog and wiki code into a single login. Just by adding OpenID, users would still have to register in three different places.

  3. Eran Sandler

    I know OpenID is not that complete, but it saves the registration and authentication part.

    A simple implementation would be to use it to authenticate (perhaps supplying a few servers on the web so people won’t have to look for them too much) and when a user authenticates using OpenID on co.mments.com for the first time it will automagically creates the a user for them with default settings (if you have a per user settings thingy).

    The same goes for a wiki and the blog and so on.

    Unless I am missing something, that’s how it should work.

  4. Assaf

    The problem I’m trying to solve is how not to authenticate three different times, and how not to login three different times.

  5. Eran Sandler

    I see.

    So the OpenID only solves one problem, which is to register but it doesn’t have a single sign on feature that will not require one to reauthenticate (similar to Liberty/Passport).

    But I guess its relativly easy to think of a solution using a cookie so one can authenticate once and until the credentials expires it won’t need to reauthenticate. The main problem is how to implement this without too much overhead and with the fact that OpenID is fully decentralized.

  6. Assaf

    Exactly.

    I can share one cookie and login screen across all three services, but there’s some that needs to be written and tested.

  7. Singpolyma

    Not auth + not login three times can easily be solved with openID if you are on the same server… All three places can have an openID login area, and once your ID has been verified against the openID server ONCE a cookie is stored by co.mments.com that is visible ANYWHERE on the domain to your scripts… then, until that expires, they are loagged in in three places. You associate the necessary data with their OpenID URL in the backend and voilĂ  — your OpenID pross script would have to hook to the WP/MW backends for their stuff, but it’s all SQL (at least WP is… i THINK MW is?) so that’s not too hard…

  8. Singpolyma

    OpenID with MediaWiki :: http://www.openidenabled.com/software/mediawiki/

  9. Edulix

    I’m developing an OpenID plugin for wordpress aiming exactly to the same thing as you, flawlesly integrate Wordpress & Mediawiki. The wordpress plugin is mostly working, only some small things are left to do for the first version, and there’s already an openid plugin for mediawiki which I only need to patch a bit to make them integrate.

    I’m talking with the nice people of openidenabled.com which will give me hosting shortly, if you want you contact with me in edu.lix AT gmail DOT com

  10. John

    I have integrated many external web2.0 sites into my mediawiki. It is just a matter of programming extensions. Examples are the AJAX unubtrusive rating bar and Joomla.

    The openid should not be a problem, as the MW software is very flexibile. If you need help, check out the IRC of MW

    good luck
    John

  11. Ciu Leren

    I am using the openID for MW. It is quite simple. Follow the manual at the openID extension at mediawiki.org

Leave your response

Where's my comment? I get too much comment spam, so I have to moderate comments. If you don't see your comment immediately, be patient. I'll approve it the minute I see it. Want to know when your comment shows up, or check if anyone responded? Track it.

Or using OpenID