User:Drewmutt/TagRevDel.js

// Hook to allow using this tool "standalone"

if (importScript("Wikipedia:AutoEd/core.js"))  // if not otherwise using AutoEd {	function autoEdFunctions { var txt = document.editform.wpTextbox1; var url = prompt("Copy Vio URL", ""); var str = txt.value; var newstr = "url="+url+"\n" + str; if (newstr != str) {        // don't alter encoding style if no fixes txt.value = newstr; autoEdTag = "fixed dashes using a script"; }	}	autoEdLinkName = "Revdel"; autoEdLinkHover = "Adds Revdel Template to Article"; autoEdTag      = ""; }