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.
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.
//<source lang=javascript>importScript("Wikipedia:AutoEd/core.js");//Imports the "framework" script needed to make this function//Import individual modules for usemw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/unicodify.js&action=raw&ctype=text/javascript');// autoEdUnicodify() converts HTML entities to WikiTextmw.loader.load('//en.wikipedia.org/w/index.php?title=User:GregU/dashes.js&action=raw&ctype=text/javascript');// autoEdDashes() fixes en and em dashesmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/isbn.js&action=raw&ctype=text/javascript');// autoEdISBN() fixes ISBN syntax so that WikiMagic can workmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/whitespace.js&action=raw&ctype=text/javascript');// autoEdWhitespace() cleans up whitespacemw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/wikilinks.js&action=raw&ctype=text/javascript');// autoEdWikilinks() simplifies and shortens wikilinks where appropriatemw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/htmltowikitext.js&action=raw&ctype=text/javascript');// autoEdHTMLtoWikitext() converts HTML to wikitextmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/headlines.js&action=raw&ctype=text/javascript');// autoEdHeadlines() fixes common headline errors and renames some headersmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/unicodecontrolchars.js&action=raw&ctype=text/javascript');// autoEdUnicodeControlChars() converts HTML to wikitextmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/unicodehex.js&action=raw&ctype=text/javascript');// autoEdUnicodeHex() converts hex encoded characters to unicodemw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/templates.js&action=raw&ctype=text/javascript');// autoEdTemplates() cleans up templatesmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/tablestowikitext.js&action=raw&ctype=text/javascript');// autoEdTablestoWikitext() replaces HTML tables with wikitablesmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/extrabreaks.js&action=raw&ctype=text/javascript');// autoEdExtraBreaks() removes extra BR tagsmw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/links.js&action=raw&ctype=text/javascript');// autoEdLinks() cleans up common link errorsfunctionautoEdFunctions(){//Activates individual modules when "auto ed" tab is clickedvartxt=document.editform.wpTextbox1;txt.value=autoEdUnicodify(txt.value);txt.value=autoEdDashes(txt.value);txt.value=autoEdISBN(txt.value);txt.value=autoEdWhitespace(txt.value);txt.value=autoEdUnicodeHex(txt.value);txt.value=autoEdWikilinks(txt.value);txt.value=autoEdHTMLtoWikitext(txt.value);txt.value=autoEdHeadlines(txt.value);txt.value=autoEdUnicodeControlChars(txt.value);txt.value=autoEdTemplates(txt.value);txt.value=autoEdTablestoWikitext(txt.value);txt.value=autoEdExtraBreaks(txt.value);txt.value=autoEdLinks(txt.value);}//</source>