User:LeoFrank/vector.js

function linkcheck { mw.util.addPortletLink("p-tb", "https://dispenser.info.tm/~dispenser/cgi-bin/webchecklinks.py?page=" + mw.config.get("wgPageName"), "Check Links"); }

if (mw.config.get("wgNamespaceNumber") === 0) { $.when(		mw.loader.using("mediawiki.util"),		$.ready	).then(linkcheck); }