IRC Channel
Posted: Sun Jan 23, 2011 6:37 am
Hi everyone. I just want to announce that IMSLP now has a registered channel (#imslpchat). I think it would be a good idea to actually implement it onto the wiki, but (obviously) I can't do that since the page it locked. I'm wondering if anyone else with sysop rights could do it. Here are the steps:
1). function onloadhookcustom() {
var replace = document.getElementById("JRChatReplace");
if (null != replace) {
replace.innerHTML='<iframe src="http://webchat.freenode.net/?channels=imslpchat" width="600" height="450"></iframe>';
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);
That is the java code. It needs to be posted at the bottom of MediaWiki:Common.js.
2). I've already set up the project page that this can appear on (unless there are objections). It can be found here:
http://imslp.org/wiki/IRC_Access
The logical next step is to link it to the mediawiki sidebar (which I'll need some help with):
http://imslp.org/wiki/MediaWiki:Sidebar
And of course, I think it should be under "participate".
Mind you that this is not commonly done. Very few wikis actually have the IRC integrated into the wiki. Hopefully this will promote users to talk about classical music. Another reason I think this will be helpful is because it might "break the ice" a little for the moderation team. My thought is that it might allow conversation about IMSLP in a setting that isn't so formal, which will hopefully promote ideas more fluidly.
What do you guys think?
1). function onloadhookcustom() {
var replace = document.getElementById("JRChatReplace");
if (null != replace) {
replace.innerHTML='<iframe src="http://webchat.freenode.net/?channels=imslpchat" width="600" height="450"></iframe>';
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);
That is the java code. It needs to be posted at the bottom of MediaWiki:Common.js.
2). I've already set up the project page that this can appear on (unless there are objections). It can be found here:
http://imslp.org/wiki/IRC_Access
The logical next step is to link it to the mediawiki sidebar (which I'll need some help with):
http://imslp.org/wiki/MediaWiki:Sidebar
And of course, I think it should be under "participate".
Mind you that this is not commonly done. Very few wikis actually have the IRC integrated into the wiki. Hopefully this will promote users to talk about classical music. Another reason I think this will be helpful is because it might "break the ice" a little for the moderation team. My thought is that it might allow conversation about IMSLP in a setting that isn't so formal, which will hopefully promote ideas more fluidly.
What do you guys think?