MediaWiki:Irc.js

/*

This is the script to add CGI:IRC login box to random pages (like WN:IRC). Please report problems to m:n:user talk:Bawolff (http://en.wikinews.org/wiki/user_talk:Bawolff ). modifications may take some time to get through caching. For yourself you can do a hard refresh of [/w/index.php?title=Mediawiki:Irc.js&action=raw&ctype=text/javascript this page] to make mods go live. From http://en.wikinews.org/wiki/mediawiki:Irc.js this is version 2.0.1 If you have any complaints, comments requests, please contact me at http://en.wikinews.org/wiki/user_talk:Bawolff


 * Just add  (some wikis may need  ) to a random page. You can style and add classes to thsi div if you want. in fact it doesn' even have to be a div, but a block level element is recommended (could be  )

Note: This is heavily based on the login page from CGI:IRC 0.5 (or more specificly it is a reimplementation of the login page in javascript, to get around restrictions on which elements can be added to a mediawiki page, plus a few extra features added along the way). CGI:IRC is made by David Leadbeater and is under the GPL. See http://cgiirc.sf.net. (therefor i geuss you could consider the entire combined thing under the gpl. I'm not a 100% sure how the copyright issue for this works, in any case I'm ok with any of my edits to the script being GPL)

http://chatwikizine.memebot.com/cgi-bin/cgiirc/irc.cgi?interface=ie&Nickname=WikiziA42&Server=irc.freenode.net&Channel=%23test-wikizine