Just a quick note to say I have integrated PhpFreeChat with MediaWiki via an extension.
You can find the extension, info and installation instructions at http://www.mediawiki.org/wiki/Extension:Chat
Additional info and a demo can be found at http://www.wikichat.org/