Copyright (C) 2010, 2011 Catalyst IT (http://www.catalyst.net.nz)This program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.----------------------------------------
To install this plugin, follow these steps:1) Copy MaharaAuthPlugin.php into the includes directory in your mediawiki instance.2) Add the following two lines into your LocalSettings.php file: $wgAutoloadLocalClasses['MaharaAuthPlugin'] = 'includes/MaharaAuthPlugin.php'; $wgAuth = new MaharaAuthPlugin('maharadbname','dbhost','dbtype','dbuser','dbpass', 'prefix');Replacing maharadbname, dbhost, dbtype, dbuser, dbpass and prefix with the respective values in your setup.