User:Thingg/common.js

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool // SCRIPT:    Admin highlighter importScript('User:Amalthea/userhighlighter.js');

// SCRIPT:   toolbox page logs link // from Wikipedia:WikiProject User scripts/Scripts/Logs link $(function {    if ( mw.config.get('wgCanonicalNamespace') == "Special" )        return;  // don't display link for special pages    url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));    mw.util.addPortletLink("p-tb", url, "Page logs", "pt-logs"); }); //SCRIPT: dashboard link in toolbar $(function {     url = "http://en.wikipedia.org/wiki/User:Thingg/dashboard";    mw.util.addPortletLink("p-personal", url, "dashboard", "pt-dash"); }); //SCRIPT: logs link in toolbar $(function {     url = "http://en.wikipedia.org/w/index.php?title=Special:Log&user=Thingg";    mw.util.addPortletLink("p-personal", url, "logs", "pt-logs"); });