Freenode IRC

There are several ways to place an irc chat on the wiki itself. As a prerequisite, you should have registered your channel on the freenode irc network, ideally with a "wikia-" prepended; e.g. #wikia-wikiname.

Wikia IRC Gateway extension
Add to a page; once the user logs in, the complete page (including the sidebar etc.) is replaced by a web CGI client.

Note: should be available site-wide in a few days.

embedding Wikia's irc gateway
Put the Javascript below into MediaWiki:common.js. Then place an element with  anywhere on a wiki page to embed a frame with irc.wikia.com on it. Example: Enable Javascript to see the IRC chat interface.

Example: Enable Javascript and Java to see the IRC chat interface.

function onloadhookcustom { var replace = document.getElementById("JRChatReplace"); if (null != replace) { replace.innerHTML=' '; if (window.attachEvent) window.attachEvent("onbeforeunload",confirmexitjrchat); else window.onbeforeunload = confirmexitjrchat;

} //alert(document.getElementById("JRChatReplace").innerHTML);

}

if (window.addEventListener) window.addEventListener("load",onloadhookcustom,false); else if (window.attachEvent) window.attachEvent("onload",onloadhookcustom);

This code was written by w:User:GreenReaper.

Embedding the freenode java client
Adjust the following Javascript and put it on your wiki, then use an element with  to display the pjirc java irc client.

 function onloadhookcustom { var replace = document.getElementById("chat"); if (null != replace) {

replace.innerHTML='<param name="style:link" value=":link: http://img148.imageshack.us/img148/6707/copyoflinkkm3.png)"> No java support Sorry, but you need a Java 1.4.x-enabled browser to use the Unmario Chatroom. '; } }

if (window.addEventListener) window.addEventListener("load",onloadhookcustom,false); else if (window.attachEvent) window.attachEvent("onload",onloadhookcustom);

Code copied from UnMario wiki, where it was placed by w:c:unmario:User:SuperLuigi.