MibbitIRC

This script places a pre-created Mibbit chatroom into a page with a certain div on it. This can be on any page: however, you only have one chat that it automatically connects to.

Installation
This script is easy to use: first, place the following line into MediaWiki:Common.js:

This isn't enough to make anything show up--it's enough to input the widget, and nothing more. You need to specify what channels and server to use!

The variables
Two different variables are required for the script.

The above specifies what server your IRC chat is on--to find out this and the contents of the next variable, go to menu > link to channel. The link it gives you will have &server= on it somewhere; copy the text after  for your server variable. Copy the link after  for your channel variable.

the second variable.

This should set up your on-wiki channel; if you want to change the width, you should consider importing the whole script.

Note: this is under construction and may be faulty.

Great thanks to Sactage for figuring out how to use the variables in the URL.