Extension:Vanilla Authentication

Vanilla Authentication is an authentication plugin designed to use Lussumo's Vanilla forum software userbase. The work is based off of the vBulletin/Users Integration.

Working on: MediaWiki 1.6 and Vanilla 1.0

Features:
 * Allows you to run MediaWiki with your Vanilla user database
 * Disallows users who do not have specified roles
 * Sets users to sysop status in MediaWiki if they have a specific role
 * Removes users from sysop status in MediaWiki if they no longer have a specific role
 * For same-database setups, allows easy installation

How To
require_once("AuthPlugin_Vanilla.php"); // if Vanilla and MediaWiki are not installed on the same database // change these values to reflect your Vanilla database information $wgAuth = new AuthPlugin_Vanilla($wgDBserver, $wgDBuser, $wgDBpassword, $wgDBname, "LUM_"); If you are running Vanilla and MediaWiki in the same database, then it already uses the connection information. If you are not running Vanilla and MediaWiki in the same database, please change the strings to reflect your Vanilla database information. In either case, the last value is whatever your Vanilla table prefix is. This prevents people from registering new accounts on the wiki, requiring people to register on Vanilla. It also prevents anonymous edits. This code may only work on MediaWiki 1.6.x and above.
 * Open your wiki/LocalSettings.php file
 * Insert the following code at the end of the file, before the ?>:
 * 1) Vanilla integration script
 * Insert this code below the require_once( "includes/DefaultSettings.php" ); at the top of the LocalSettings.php file:
 * Copy this AuthPlugin_Vanilla.php file and put it in your main wiki directory, ie: /wiki/AuthPlugin_Vanilla.php