MediaWiki Mibbit Chat Extension
Hey all, for the past few months I’ve been using an edited version of the MediaWiki WebChat plugin. Much of the code was either trimmed out or cleaned up. With the fact of fixing the issues that the mibbit client had with it. With that said, might as post it online for anyone wishing to use this extension edit. Full credit of the original author goes to Robert Leverington, thanks for your hard work on the original files for this.
You can find two wiki websites running this extension currently: http://sgrwiki.com and http://shk.replayirc.com
First, add this to LocalSettings.php:
require_once("$IP/extensions/WebChat/WebChat.php");
//Have a widget theme? Put the code here.
$wgWebChatSettings = '1b7d59d273fecac05ee8d06d918d9ea5';
//Set the server to connect to
$wgWebChatServer = 'irc.replayirc.com';
// Channel to connect to. A # is not needed.
$wgWebChatChannel = 'stargate-resistance';
// Which web chat client to use. 'Mibbit' is the currently the only one in the Array.
// Edit the array in WebChat.php to add more.
$wgWebChatClient = 'Mibbit';
$wgAvailableRights[] = 'webchat';
$wgGroupPermissions['*' ]['webchat'] = false;
$wgGroupPermissions['user' ]['webchat'] = true;
$wgGroupPermissions['sysop']['webchat'] = true;
Then get this zip file or wget this zipfile and extract it to the `extensions/` folder. The zip archive is located here: http://brettc.replayirc.com/files/WebChat.zip
Please be sure to edit the Webchat.i18n.php file ‘en’ array and edit the server and channel for the webchat-footer. I couldn’t get the crazy thing to pull the settings from LocalSettings.php properly.