User:Rublov/common.js

// importScript('User:Enterprisey/reply-link.js'); // Backlink: User:Enterprisey/reply-link.js importScript('User:Enterprisey/diff-permalink.js'); // Backlink: User:Enterprisey/diff-permalink.js importScript('User:Rublov/diff-link.js'); // Backlink: User:Rublov/diff-link.js importScript('User:Rublov/refspace.js'); // Backlink: User:Rublov/refspace.js importScript('User:Headbomb/unreliable.js'); // Backlink: User:Headbomb/unreliable.js importScript('User:Mvolz/displayContributions.js'); // Backlink: User:Mvolz/displayContributions.js importScript('User:Nardog/MoveHistory.js'); // Backlink: User:Nardog/MoveHistory.js importScript('User:Rublov/anonymize.js'); // Backlink: User:Rublov/anonymize.js importScript('User:Rublov/leadcaps.js'); // Backlink: User:Rublov/leadcaps.js importScript('User:Shubinator/DYKcheck.js'); // Backlink: User:Shubinator/DYKcheck.js importScript('User:Ohconfucius/script/MOSNUM dates.js'); // User:Ohconfucius/script/MOSNUM dates.js importScript('User:Writ Keeper/Scripts/peerReviewCloser.js'); // Backlink: User:Writ Keeper/Scripts/peerReviewCloser.js importScript('User:DemonDays64/Scripts/Dumb quotes.js'); // Backlink: User:DemonDays64/Scripts/Dumb quotes.js importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: User:Novem Linguae/Scripts/GANReviewTool.js importScript('User:Novem Linguae/Scripts/Links.js'); // Backlink: User:Novem Linguae/Scripts/Links.js mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' ); var autoFormatMaskedLinks = false;

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

var SCRIPT_BASE_URL = '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title='; var AUTO_ED_BASE_URL = SCRIPT_BASE_URL + 'Wikipedia:AutoEd/';

// AutoEd/Customization Promise.all([	mw.loader.getScript(AUTO_ED_BASE_URL + 'unicodify.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'isbn.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'wikilinks.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'htmltowikitext.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'headlines.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'unicodecontrolchars.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'templates.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'tablestowikitext.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'extrabreaks.js'),	mw.loader.getScript(AUTO_ED_BASE_URL + 'links.js'),	// Custom AutoEd modules	mw.loader.getScript(SCRIPT_BASE_URL + 'User:Jerome Frank Disciple/curlyfixer.js'),	mw.loader.getScript(SCRIPT_BASE_URL + 'User:Rublov/dashes.js'), ]).then(function {	console.log("AutoEd plugins loaded.")	$.when($.ready).then(function  { console.log("DOM ready"); importScript('User:Rublov/auto-ed-core.js'); }); });

function autoEdFunctions { console.log("Calling autoEdFunctions"); const txt = document.editform.wpTextbox1; // From AutoEd/wikichecker.js txt.value = autoEdUnicodify(txt.value); txt.value = autoEdISBN(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); // Extras console.log("BEFORE autoEdDashes", txt.value); txt.value = autoEdDashes(txt.value); console.log("AFTER autoEdDashes", txt.value); txt.value = autoEdCurlyFixer(txt.value); console.log("AFTER autoEdCurlyFixer", txt.value); }