User:Josephyr/global.js

importScriptURI('http://josephhawk.wikia.com/index.php?title=User:Josephyr/scripts.js&action=raw&ctype=text/javascript');

if (wgAction == "edit" || wgAction == "publish") { /***** Custom edit buttons *****/ if (mwCustomEditButtons) {

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#redirect",           "tagClose": "", "sampleText": "PAGE" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100502153339/callofduty/images/1/17/Button_Ssig.jpg", "speedTip": "Signature", "tagOpen": "", "tagClose": "", "sampleText": "" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/b/b4/Button_category03.png", "speedTip": "Category", "tagOpen": "[[Category:",           "tagClose": "]]", "sampleText": "Category name" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/28/Button_wikilink.png", "speedTip": "Userpage", "tagOpen": "", "sampleText": ""

};

} }