User:Random832/lib.js

importScript('User:Zocky/Prototype.js')

$(function {   Wiki = function{}    Wiki.param = document.URL.toQueryParams;    if(wgNamespaceNumber%2 != 0) {        Wiki.isTalk = true; return 0;    }    if(document.getElementById("ca-addsection")) {        Wiki.isTalk = true; return 0;    }    if(Wiki.param.section =='new') {        Wiki.isTalk = true; return 0;    }    if(wgNamespaceNumber == 4) {        if(wgPageName.indexOf("noticeboard") > 0) {            Wiki.isTalk = true; return 0;        }        if(wgPageName.indexOf("Village_pump") > 0) {            Wiki.isTalk = true; return 0;        }        if(wgPageName.indexOf("_for_deletion/") > 0) {            Wiki.isTalk = true; return 0;        }        if(wgPageName.indexOf("_for_discussion/") > 0) {            Wiki.isTalk = true; return 0;        }        if(wgPageName.indexOf("Requests_for_comment/User_names") > 0) {            Wiki.isTalk = true; return 0;        }    } });