User:QwerpQwertus/tools.js

if (window.qqToolConfigCustom === undefined){ var qqWhichToolBar="tb"; // "cactions" for top, "personal" for very top, or "tb" for sidebar toolbox // Which tools? true for yes - false for no var qqPeerRev=true; var qqAltImg=true; var qqDablinks=true; var qqExtLink=true; }

$( function { if(qqPeerRev=true){addPortletLink("p-" + qqWhichToolBar, "http://toolserver.org/~dispenser/view/Peer_reviewer#page:" + encodeURIComponent(mw.config.get('wgPageName')), "AutoPeerRev", "qqToolPeerRev", "Automatic Peer Review");} if(qqAltImg=true){addPortletLink("p-" + qqWhichToolBar, "http://toolserver.org/~dispenser/cgi-bin/dablinks.py?page=" + encodeURIComponent(mw.config.get('wgPageName')), "Dablinks", "qqToolAltImg", "View DabLinks");} if(qqDablinks=true){addPortletLink("p-" + qqWhichToolBar, "http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=" + encodeURIComponent(mw.config.get('wgPageName')), "ExtLinkCheck", "qqToolDabLink", "Check for External Links");} if(qqExtLink=true){addPortletLink("p-" + qqWhichToolBar, "http://toolserver.org/~dispenser/cgi-bin/altviewer.py?page=" + encodeURIComponent(mw.config.get('wgPageName')), "AltImgs", "qqToolExtLink", "View Alternate Images for Page");} } );