User:Allens/vector.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Allens/vector.css. |
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
importScript('User:Dr_pda/templatecheck.js'); //[[User:Dr_pda/templatecheck.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('User:Tra/sidebartranslate.js'); //[[User:Tra/sidebartranslate.js]]
importScript('User:NuclearWarfare/Mark-blocked script.js');
// importScript("User:EpochFail/NOOB.js");
importScript('User:Ohconfucius/script/EngvarB.js'); //[[User:Ohconfucius/script/EngvarB.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 );
}