_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

Wikipedia:AutoEd/complete.js

Welcome to the article about Wikipedia:AutoEd/complete.js, a topic that arouses the interest of millions of people around the world. In this post, we will thoroughly explore the different aspects related to Wikipedia:AutoEd/complete.js, from its history and evolution to its impacts on today's society. Along these lines, we will discover fascinating facts, analyze expert opinions and share practical advice for those who wish to delve deeper into this exciting topic. Get ready to immerse yourself in a journey of knowledge and discovery about Wikipedia:AutoEd/complete.js. Let's get started!
var AutoEd_baseurl = 'http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedia:AutoEd/';
if (location.protocol === 'https:') {
    AutoEd_baseurl = 'https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=Wikipedia:AutoEd/';
}
 
//Import individual modules for use
mw.loader.load(AutoEd_baseurl + 'unicodify.js'); // autoEdUnicodify() converts HTML entities to WikiText
mw.loader.load(AutoEd_baseurl + 'isbn.js'); // autoEdISBN() fixes ISBN syntax so that WikiMagic can work
mw.loader.load(AutoEd_baseurl + 'whitespace.js'); // autoEdWhitespace() cleans up whitespace
mw.loader.load(AutoEd_baseurl + 'wikilinks.js'); // autoEdWikilinks() simplifies and shortens wikilinks where appropriate
mw.loader.load(AutoEd_baseurl + 'htmltowikitext.js'); // autoEdHTMLtoWikitext() converts HTML to wikitext
mw.loader.load(AutoEd_baseurl + 'headlines.js'); // autoEdHeadlines() fixes common headline errors and renames some headers
mw.loader.load(AutoEd_baseurl + 'unicodecontrolchars.js'); // autoEdUnicodeControlChars() converts HTML to wikitext
mw.loader.load(AutoEd_baseurl + 'unicodehex.js'); // autoEdUnicodeHex() converts hex encoded characters to unicode
mw.loader.load(AutoEd_baseurl + 'templates.js'); // autoEdTemplates() cleans up templates
mw.loader.load(AutoEd_baseurl + 'tablestowikitext.js'); // autoEdTablestoWikitext() replaces HTML tables with wikitables
mw.loader.load(AutoEd_baseurl + 'extrabreaks.js'); // autoEdExtraBreaks() removes extra BR tags
mw.loader.load(AutoEd_baseurl + 'links.js'); // autoEdLinks() cleans up common link errors
mw.loader.load(AutoEd_baseurl + 'fullwidth.js'); // autoEdFullwidth() replaces fullwidth characters with standard characters.
mw.loader.load(AutoEd_baseurl + 'curlyfixer.js'); // autoEdCurlyFixer() replaces curly quotes with straight quotes

function autoEdFunctions() { //Activates individual modules when "auto ed" tab is clicked
    var $textbox = $( '#wpTextbox1' );
    var txt = $textbox.textSelection('getContents');
    txt = autoEdUnicodify(txt);
    txt = autoEdISBN(txt);
    txt = autoEdWhitespace(txt);
    txt = autoEdUnicodeHex(txt);
    txt = autoEdWikilinks(txt);
    txt = autoEdHTMLtoWikitext(txt);
    txt = autoEdHeadlines(txt);
    txt = autoEdUnicodeControlChars(txt);
    txt = autoEdTemplates(txt);
    txt = autoEdTablestoWikitext(txt);
    txt = autoEdExtraBreaks(txt);
    txt = autoEdFullwidth(txt);
    txt = autoEdLinks(txt);
    txt = autoEdCurlyFixer(txt);
    $textbox.textSelection('setContents', txt);
}

$.when( $.ready, mw.loader.using( 'jquery.textSelection' ) ).then(function() {
mw.loader.load(AutoEd_baseurl + 'core.js'); //Imports the "framework" script needed to make this function
});