MediaWiki:Common.js

if(wgAction=="view" && wgTitle != "IRC") { var rail = document.getElementById("column-one"); if(rail) {   var ircBox = document.createElement("div"); ircBox.id = "ircBox"; ircBox.className = "portlet"; ircBox.innerHTML = '' + ' IRC login ' + '' + '' + ' Username: ' + ' ' + ' ' + ' Channel: ' + ' '        + ' ';    var selectThing = document.createElement("select"); selectThing.name = "channels"; selectThing.style.width="100%"; selectThing.innerHTML = '' + '' + ' #Wikia-FF ' + ' ' + ' ##wikia ' + ' #wikia-vstf ' + ' '   var afterElement = document.getElementById("p-tb"); rail.insertBefore(ircBox,afterElement); document.getElementById("ircform").appendChild(selectThing); } }