User:Tomsen/global.js

// // ***************************************************************** // Custom edit buttons // ***************************************************************** // EditButtons if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/4/4a/Button_welcome.png", "speedTip": "Willkommen", "tagOpen": "", "sampleText": "subst:Willkommen"}; 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": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/4/47/Button_redir.png", "speedTip": "English link", "tagOpen": " (englisch) ", "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); } //