• Hey KMP, I noticed that on Avatar Wiki:IRC Access the <verbatim> tag is no longer embedding the Freenode gateway. To fix that I found that a snippet (below) has to be added to MediaWiki:Common.js*. Additionally Avatar Wiki:IRC Access would have to have the <verbatim> tag replaced with a different code snippet (also below).
    *I'd like to note that while I stole this off of VSTF wiki, I have not tested the code myself.

    Could this change be made?


    /* IRC Webchat, from VSTF Wiki */
    function onloadhookcustom() {
      var replace = document.getElementById("chat");
      if (null != replace) {
        replace.innerHTML='<iframe src="" width="630" height="550"></iframe>';
         if (window.attachEvent) window.attachEvent("onbeforeunload",confirmexitjrchat);
        else window.onbeforeunload = confirmexitjrchat;
    if (window.addEventListener) window.addEventListener("load",onloadhookcustom,false);
    else if (window.attachEvent) window.attachEvent("onload",onloadhookcustom);

    Avatar Wiki:IRC Access

    <div id="chat">Enable JavaScript and Java to see the IRC chat interface or click here to go to [ Freenode's gateway].</div>
      Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.