User:Tim1357/monobook.js

mw.loader.load('http://sam.zoy.org/wikipedia/godmode-light.js')

function rollbackEverythingButton {  var hasRollback = getElementsByClassName(document, "span", "mw-rollback-link");   if (hasRollback[0] && (document.title.indexOf("User contributions") != -1) ) {     mw.util.addPortletLink('p-cactions', 'javascript:rollbackEverything', "rollback all", "ca-rollbackeverything", "rollback all edits displayed here");   } } addOnloadHook(rollbackEverythingButton); function rollbackEverything {     for (var i in document.links) {       if (document.links[i].href.indexOf('action=rollback') != -1) {         window.open(document.links[i].href);       }     } }

importScript("Wikipedia:Dazzle!/code.js");

// User:Krimpet/CH2.js importScript('User:Krimpet/CH2.js'); importScript('User:Lupin/recent2.js'); mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/core.js&action=raw&ctype=text/javascript'); //Imports the "framework" script needed to make this function //Sets variable configuration autoEdTag = "Checking Wikipedia using AutoEd"; //Supplies link to CHECKWIKI in summary autoEdLinkName = "check"; //Changes the link name at the top of the page autoEdLinkHover = "Run AutoEd to Check Wikipedia"; //When user hovers over link //Import individual modules for use // autoEdUnicodify converts HTML entities to WikiText mw.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 work mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/whitespace.js&action=raw&ctype=text/javascript'); // autoEdWhitespace cleans up whitespace mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/wikilinks.js&action=raw&ctype=text/javascript'); // autoEdWikilinks simplifies and shortens wikilinks where appropriate mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/htmltowikitext.js&action=raw&ctype=text/javascript'); // autoEdHTMLtoWikitext converts HTML to wikitext mw.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 headers mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/unicodecontrolchars.js&action=raw&ctype=text/javascript'); // autoEdUnicodeControlChars converts HTML to wikitext mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/templates.js&action=raw&ctype=text/javascript'); // autoEdTemplates cleans up templates mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/tablestowikitext.js&action=raw&ctype=text/javascript'); // autoEdTablestoWikitext replaces HTML tables with wikitables mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/extrabreaks.js&action=raw&ctype=text/javascript'); // autoEdExtraBreaks removes extra BR tags mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/links.js&action=raw&ctype=text/javascript'); // autoEdLinks cleans up common link errors function autoEdFunctions { //Activates individual modules when "auto ed" tab is clicked var txt = document.editform.wpTextbox1; txt.value = autoEdUnicodify(txt.value); txt.value = autoEdISBN(txt.value); txt.value = autoEdWhitespace(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); } //