User:Tomsen/global.js

// // ***************************************************************** // Custom edit buttons // ***************************************************************** // EditButtons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/3/3b/Button_template_alt.png", "speedTip": "Welcome", "tagOpen": "", "sampleText": "subst:welcome"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/7/74/Button_comment.png", "speedTip": "Signature", "tagOpen": "Tomsen (talk) ", "tagClose": "" + "" + "~", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/7/71/TableCell.png", "speedTip": "Strich", "tagOpen": "|", "tagClose": "", "sampleText": ""}; } function appendScript(url) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } appendScript('http://www.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript&dontcountme=s') //