1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained [SchmitzIT] XenForo MediaWiki Bridge 2.0

A way for XenForo to handle login authentication for local MediaWiki installations,

  1. SchmitzIT
    First off, let me start by stating that this mod was coded by xfrocks, but he is allowing me release it (presumably because I paid him to code it ;) ).

    This add-on provides a bridge between XenForo and MediaWiki. That's about it. In short, if you run a MediaWiki installation on the same site as your XenForo installation, you can have your MediaWiki share the authentication with XF, so your users will not have to create two different accounts for the same site.

    The original version (still available on SchmitzIT.com, but removed from this post) works on MediaWiki versions < 1.18. Version 2.0 works on 1.18 and up.

    Version 2.0 will stream updates made in the Wiki into the "Recent Activity" stream, as can be seen in the screenshot:

    Installation instructions:

    1. Upload files and directories inside `upload-to-mediawiki` to MediaWiki root
    2. Go to MediaWiki root > extensions > XenForo
    3. Copy config.default.php to config.php
    4. Open config.php and define the MEDIAWIKI_PATH_TO_XENFORO, by setting it to the location of the xenforo installation folder (i.e. if your wiki is in www.schmitzit.com/wiki and your forums are in www.schmitzit.com/forums, you would enter the following:

    define('MEDIAWIKI_PATH_TO_XENFORO', '../forums');
    5. Add this line to your LocalSettings.php (in your MediaWiki root):

    6. Done.

    Follow these steps to track user activity via XenForo.
    1. Upload files and directories inside `upload-to-xenforo` to the XenForo root folder.
    2. Import `addon-mediawiki_helper.xml` via XenForo's import tool.
    3. Inside XenForo AdminCP, go to Options > MediaWiki and supply the full path to your MediaWiki URL.
    4. Done

    Should you wish to support this add-on, please consider making a donation. We have a lot of ideas on how to further integrate XenForo and MediaWiki, but are on a limited budget. Should you wish to contribute, you can make a donation by paypal to: peter@schmitzit.com.

    Enjoy :)
    melbo, Adam K M, freecode and 10 others like this.

Recent Reviews

  1. Thasan
    Version: 2.0
    Dosent work with latests mediawiki (origin/wmf/1.25wmf14), but quite easy to fix. Works fine with XenForo 1.4.0
    Problem is on authplugin.php createUser function (to fix, use extensions/LdapAuthentication/LdapAutoAuthentication.php, function attemptAddUser as example)
  2. tribalplague
    Version: 2.0
    It doesnt work with XenForo 1.3.2
  3. Cala_Marie
    Version: 2.0
    Confirmed working with xenForo 1.15 and MediaWiki 1.21.1. All relevant user permissions seem to carry over correctly. Excellent bridge, thank you xfrocks and SchmitzIT!
  4. Iversia
    Version: 2.0
    Working great with MediaWiki 1.19.1! Thanks.
  5. zett
    Version: 2.0
    Works as expected! Perfect! :D