User:Uberfuzzy/global.js

/* */ 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://fzy/wikia/js/toolbox_setup.js'); appendScript('http://fzy/wikia/js/add_tools.js');

appendScript('http://fzy/wikia/js/cs_linker.js');

appendScript('http://fzy/wikia/js/enhanced_LC.js');

appendScript('http://fzy/wikia/js/lookup_link.js'); appendScript('http://fzy/wikia/js/regex_link.js'); appendScript('http://fzy/wikia/js/editacct_link.js');

appendScript('http://fzy/wikia/js/ninja.js');

appendScript('http://fzy/wikia/js/pr_link.js');

appendScript('http://fzy/wikia/js/detect.js');

if (mwCustomEditButtons) {

/*** wrappers *****/

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/28/Button_wikilink.png?1", "speedTip": "Link", "tagOpen": "",    "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/3/3b/Button_template_alt.png?1", "speedTip": "template", "tagOpen": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/b/b4/Button_category03.png?1", "speedTip": "Category", "tagOpen": "[[Category:",    "tagClose": "]]", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/c/c8/Button_redirect.png?1", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/c/c9/Button_strike.png?1", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through text"}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/f/f6/Button_html_comment.png?1", "speedTip": "HTML comment", "tagOpen": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/23/Button_code.png?1", "speedTip": "code", "tagOpen": " ", "sampleText": "Insert code here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/7/73/Button_code_nowiki.png?1", "speedTip": "code+nowiki", "tagOpen": " ", "sampleText": "Insert code here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/9/9f/Button_defaultsort.png?1", "speedTip": "defaultsort", "tagOpen": "", "sampleText": "Insert key here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/3/33/Button_onlyinclude.png?1", "speedTip": "onlyinclude", "tagOpen": "<" + "onlyinclude" + ">", "tagClose": "", "sampleText": "Insert key here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/d/d1/Button_pipehack.png?1", "speedTip": "WikiTable hack", "tagOpen": "|", "tagClose": "", "sampleText": ""};

/*** helper stuff *****/ mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/29/Button_user.png?1", "speedTip": "My global User template", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/central/images/2/29/Button_user.png?1", "speedTip": "My global Usertalk template", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://fzy/wikia/images/ceb-cake.png", "speedTip": "it is a lie", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://fzy/wikia/images/ceb-wikiasig.png", "speedTip": "sign with sig", "tagOpen": "--User:Uberfuzzy ", "tagClose": "", "sampleText": ""};

appendScript('http://fzy/wikia/js/ceb.php?wkid=' + wgCityId); }

/*********start fd setup ******************/ appendScript('http://www.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript&dontcountme=s')

/*********end fd setup, start fd use ******************/

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'spam', 'label': 's'}; fdButtons[fdButtons.length] = { 'summary': 'vandalism', 'label': 'v'}; fdButtons[fdButtons.length] = { 'summary': 'redirect left over from move vandalism', 'label': 'mpv'}; fdButtons[fdButtons.length] = { 'summary': 'housekeeping', 'label': 'h'}; fdButtons[fdButtons.length] = { 'summary': ' ', 'label': 'nr'};

appendScript('http://fzy/wikia/js/fast_delete.php?wkid=' + wgCityId);

/*************end fd************************************/

if(typeof quantserve != 'function') { function quantserve {   return false; } }

/* */