User:Renegade54/monobook.js

// Script from User:MarkS/extraeditbuttons.js document.write('');

// User:Lupin/popups.js

mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

function newTool(text,desc) { var tool = document.createElement("a"); tool.href = "javascript:inserts('"+text+"','')"; var toolTxt = document.createTextNode(desc); tool.appendChild(toolTxt); return tool; }

function moreTools { var tools = document.getElementById('moretools'); tools.appendChild(newTool('+ ','added')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('- ','removed')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool(', ','comma')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool(' ','space')); tools.appendChild(document.createTextNode(" || ")); tools.appendChild(newTool('actor','actor')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('background','background info')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('category','category')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('citation','citation')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('IMDb','IMDb')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('de','Interwiki MA/de')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('fr','Interwiki MA/fr')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('nl','Interwiki MA/nl')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('sv','Interwiki MA/sv')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('ext. link(s)','external link(s)')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('link(s)','link(s)')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('picture(s)','picture(s)')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('stub','stub')); tools.appendChild(document.createTextNode(" || ")); tools.appendChild(newTool('rev','reverted')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('vandalism','vandalism')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('disambig','disambig')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('duplication','duplication')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('formatting','formatting')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('linkfix','linkfix')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('punctuation','punctuation')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('spelling','spelling')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('typo','typo')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('wikified','wikified')); tools.appendChild(document.createTextNode(" || ")); tools.appendChild(newTool('copyvio','copyvio')); tools.appendChild(document.createTextNode(" | ")); tools.appendChild(newTool('see Talk','see Talk'));

tools.appendChild(document.createElement("BR")); } if (window.addEventListener) window.addEventListener("load",moreTools,false); else if (window.attachEvent) window.attachEvent("onload",moreTools);

function inserts(tag, sampleText) { var txtarea = document.editform.wpSummary; txtarea.value = txtarea.value + tag; }