After looking over the Mediawiki chat extensions[1] and failing to get any of those for IRC to work in MediaWiki 1.11.0, I grabbed the extension template[2] and created my very first MediaWiki extension.
To get the extension to work, complete the following steps:
require_once( "$IP/extensions/IRC/IRC.php" );
The name of the chat page as specified in 4. above is now available in your list of special pages and you can link to it with [[Special:IRC|Example chat]]. I usually configure PJIRC reasonably novice-proof. From my experience, users that rely on PJIRC tend to desire easy chat access and get confused by overly complex applications. You will notice that in the sample configuration, users cannot leave the designated channel and get to use the simplest PJIRC window. Obviously you can adjust the PJIRC settings, please refer to the documentation included in the PJIRC package.
Last but not least, please refer to this post detailing a workaround for the expired PJIRC certificate.
PS: This extension does not work in MediaWiki 1.11.1.
| Attachment | Size |
|---|---|
| MW-IRC.zip | 355.83 KB |
Comments
Post new comment