User:Jim Carter/vector.js

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool $(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "//toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName') + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'), "Create data" // link label )});

$(function {	var shopLink = document.getElementById("n-shoplink");	if(!shopLink) return;	shopLink.innerHTML = "W3Schools";	shopLink.addEventListener("click", function { window.open("http://www.omdbapi.com/?t=" + mw.config.get('wgTitle') + "&y=&plot=short&r=json",'_blank'); });

})