User:Headbomb/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; }

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