User:Allens/sandbox/scripts in use
Appearance
< User:Allens | sandbox
These are the scripts that I use for copyediting (minus ones that aren't currently working!). They can be put into your common.js page or your default "skin"'s javascript page.
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
importScript('User:Cameltrader/Advisor.js'); //[[User:Cameltrader/Advisor]]
importScript('User:Splarka/dabfinder.js'); //[[User:Splarka/dabfinder.js]]
importScript('User:Plastikspork/date.js'); //[[User:Plastikspork/date.js]]
importScript('Wikipedia:AutoEd/core.js'); //Imports the "framework" script needed to make this function
importScript('Wikipedia:AutoEd/extrabreaks.js');
importScript('Wikipedia:AutoEd/headlines.js');
importScript('Wikipedia:AutoEd/htmltowikitext.js');
importScript('Wikipedia:AutoEd/isbn.js');
importScript('Wikipedia:AutoEd/links.js');
importScript('Wikipedia:AutoEd/templates.js');
importScript('Wikipedia:AutoEd/unicodecontrolchars.js');
importScript('Wikipedia:AutoEd/whitespace.js');
importScript('Wikipedia:AutoEd/wikilinks.js');
importScript('User:GregU/dashes.js'); //[[User:GregU/dashes.js]]
autoEdClick = true;
autoEdTag = "Cleaned up using [[WP:AutoEd|AutoEd]], [[User:GregU/dashes.js]]";
autoEdLinkHover = "Run AutoEd";
autoEdLinkName = "auto ed";
autoEdLinkLocation = "p-cactions";
function autoEdFunctions() { //Activates individual modules when "auto ed" tab is clicked
var txt = document.editform.wpTextbox1;
txt.value = autoEdExtraBreaks(txt.value);
txt.value = autoEdHeadlines(txt.value);
txt.value = autoEdHTMLtoWikitext(txt.value);
txt.value = autoEdISBN(txt.value);
txt.value = autoEdLinks(txt.value);
txt.value = autoEdTemplates(txt.value);
txt.value = autoEdUnicodeControlChars(txt.value);
txt.value = autoEdWhitespace(txt.value);
txt.value = autoEdWikilinks(txt.value);
var str = txt.value.
replace(/—/g, '—').
replace(/–/g, '–'). // simplify core regexes
replace(/−/g, '−');
txt.value = autoEdDashes( str );
}