Jump to content

User:Jerome Frank Disciple/monobook.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
importScript('Wikipedia:AutoEd/core.js'); //Imports the "framework" script needed to make this function	
importScript('Wikipedia:AutoEd/unicodify.js');
importScript('Wikipedia:AutoEd/whitespace.js');
importScript('Wikipedia:AutoEd/isbn.js');
importScript('User:Jerome Frank Disciple/url-status fixerBETA.js');
importScript('Wikipedia:AutoEd/wikilinks.js');
importScript('Wikipedia:AutoEd/templates.js');
importScript('Wikipedia:AutoEd/headlines.js');
importScript('User:Jerome Frank Disciple/curlyfixer.js');
importScript('Wikipedia:AutoEd/htmltowikitext.js');
importScript('Wikipedia:AutoEd/unicodehex.js');
importScript('Wikipedia:AutoEd/unicodecontrolchars.js');
importScript('Wikipedia:AutoEd/tablestowikitext.js');
importScript('Wikipedia:AutoEd/links.js');

function autoEdFunctions() { //Activates individual modules when "auto ed" tab is clicked
    var txt = document.editform.wpTextbox1;
    txt.value = autoEDurlStatusFixerBETA(txt.value);
    txt.value = autoEdUnicodify(txt.value);
    txt.value = autoEdWikilinks(txt.value);
    txt.value = autoEdISBN(txt.value);
    txt.value = autoEdTemplates(txt.value);
    txt.value = autoEdHeadlines(txt.value);
    txt.value = autoEdCurlyFixer(txt.value);
    txt.value = autoEdHTMLtoWikitext(txt.value);
    txt.value = autoEdUnicodeHex(txt.value);
    txt.value = autoEdUnicodeControlChars(txt.value);
    txt.value = autoEdLinks(txt.value);
    txt.value = autoEdTablestoWikitext(txt.value);
    txt.value = autoEdWhitespace(txt.value);
}
autoEdTag = "Removing url-status from templates without archive-url per [[:Category:CS1 maint: url-status]], cleaned up whitespace, & addressed other issues using [[WP:AutoEd|AutoEd]]";