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://localhost/wikia/js/extend_toolbox.js');

appendScript('http://localhost/wikia/js/lookup_link.js');

appendScript('http://localhost/wikia/js/lookup_final.js');

appendScript('http://localhost/wikia/js/lookup_doit.js');

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

appendScript('http://localhost/wikia/js/regex.js');

appendScript('http://localhost/wikia/js/add_tools.js');

if (mwCustomEditButtons) {

/*** wrappers *****/

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

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

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

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

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

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

/*** inserts *****/ mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/70/Button_disambig.png", "speedTip": "disambig", "tagOpen": "", "tagClose": "", "sampleText": ""};

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

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

if(wgCityId == 177) {  mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/2/28/Button_info.png", "speedTip": "central - i", "tagOpen": "", "tagClose": "", "sampleText": ""}; }

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/0/0f/Button_cake.png", "speedTip": "it is a lie", "tagOpen": "", "tagClose": "", "sampleText": ""};

}

/*********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://localhost/wikia/js/fast_delete.php?server=' + wgServer);

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

function quantserve { return false; } /* */