Jump to content

User:Andrew Gray/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Andrew Gray (talk | contribs) at 18:10, 23 August 2013 (dab solver). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]

importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]

// Wikidata, hurrah!

mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');

//Smart undo, by [[m:user:Hoo man]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smartUndo.js&action=raw&ctype=text/javascript');

//dabsolver

addOnloadHook(function () {
	addPortletLink("p-cactions",
		"//toolserver.org/~dispenser/cgi-bin/dab_solver.py?page="+wgContentLanguage+":"+encodeURIComponent(wgPageName),
		'Solve DABs', null,  "Disambiguate links", '3'); 
});