User:Bermuda/global.js

/*############################################################################*/ /*########################## Import Script Pages #############################*/ /*############################################################################*/

PurgeButtonText = 'Refresh'; importScriptPage('PurgeButton/code.js', 'dev');

/*############################################################################*/ /*######################### End Import Script Pages ##########################*/ /*############################################################################*/

/*############################################################################*/ /*################################ Contribs ##################################*/ /*############################################################################*/

/* add contribs to user menu - 2/1/11 */

function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); }

addOnloadHook(UserContribsMenuItem);

/*############################################################################*/ /*############################## End Contribs ################################*/ /*############################################################################*/

/*############################################################################*/ /*########################## History Dropdown Menu ###########################*/ /*############################################################################*/

/* add history to the dropdown menu for pages - 3/8/11 */ function HistoryDropdownMenuItem { if ($('ul.wikia-menu-button').length === 0) { $('#WikiaPageHeader a.wikia-button').removeClass('wikia-button').wrap('').wrap(''); $('ul.wikia-menu-button').append(''); } $('ul.wikia-menu-button ul').append('History'); }

addOnloadHook(HistoryDropdownMenuItem);

/*############################################################################*/ /*####################### End History Dropdown Menu ##########################*/ /*############################################################################*/

/*############################################################################*/ /*########################## Custom Edit Buttons #############################*/ /*############################################################################*/

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20090417031658/central/images/e/ea/Button_align_left.png", "speedTip": "Align Left", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert text here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/__cb20110320004360/toontown/images/5/5f/Button_center.png", "speedTip": "Center", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert text here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/__cb20081020112020/central/images/a/a5/Button_align_right.png", "speedTip": "Align Right", "tagOpen": " ", "tagClose": " ", "sampleText": "Insert text here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/__cb20070329064322/central/images/8/88/Btn_toolbar_enum.png", "speedTip": "Number Listing", "tagOpen": "#", "tagClose": " ", "sampleText": "Number Listing(Steps)"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20070329064828/central/images/1/11/Btn_toolbar_liste.png", "speedTip": "Bullet Points", "tagOpen": "*", "tagClose": " ", "sampleText": "Bullet Points"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/toontown/images/8/8e/Button_shifting.png", "speedTip": "Indent", "tagOpen": ":", "tagClose": " ", "sampleText": "Insert Text Here"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20070329064959/central/images/e/e9/Button_headline2.png", "speedTip": "Headline 2", "tagOpen": "==", "tagClose": "==", "sampleText": "Headline 2"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20070329064925/central/images/3/3a/Button_headline3.png", "speedTip": "Headline 3", "tagOpen": "===", "tagClose": "===", "sampleText": "Headline 3"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/__cb20070329065007/central/images/0/08/Button_headline4.png", "speedTip": "Headline 4", "tagOpen": "====", "tagClose": "====", "sampleText": "Headline 4"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20100328145146/central/images/c/c1/Button_Bold_Italic.PNG", "speedTip": "Bold-Italics", "tagOpen": "'", "tagClose": "'", "sampleText": "Bold-Italics"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/toontown/images/8/89/Button_bigger.png", "speedTip": "Large Text", "tagOpen": " ", "tagClose": " ", "sampleText": "Big Text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images1.wikia.nocookie.net/toontown/images/0/0d/Button_smaller.png", "speedTip": "Small Text", "tagOpen": " ", "tagClose": " ", "sampleText": "Small Text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/f/fd/Button_underline.png", "speedTip": " Underline Selected Text ", "tagOpen": " ", "tagClose": " ", "sampleText": "Text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png", "speedTip": "Strike", "tagOpen": " ", "tagClose": " ", "sampleText": "Strike-through"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20091011135213/central/images/3/31/HighlightButton.png", "speedTip": "Highlight", "tagOpen": " ", "tagClose": " ", "sampleText": "Highlighted text"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20081020115414/central/images/0/0c/Button_Link_DifferentName.png", "speedTip": "Different Name", "tagOpen": "", "tagClose": "", "sampleText": "Different Name"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20080208025054/central/images/2/29/Button_user.png", "speedTip": "User", "tagOpen": "User:", "tagClose": "", "sampleText": "User"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/__cb20090511022919/central/images/f/fc/Button_user_talk.png", "speedTip": "User talk", "tagOpen": "User talk:", "tagClose": "", "sampleText": "User Talk"};

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

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images4.wikia.nocookie.net/toontown/images/b/b0/Button_category02.png", "speedTip": "Category Link", "tagOpen": "Category:", "tagClose": "", "sampleText": "Category"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/toontown/images/e/eb/Button_plantilla.png", "speedTip": "Template", "tagOpen": "", "sampleText": "Template"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/toontown/images/9/96/Button_interwiki.png", "speedTip": "Interwiki", "tagOpen": "w:c:", "tagClose": "", "sampleText": "Interwiki link"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/7/74/Button_comment.png", "speedTip": "Comment visible only for editors", "tagOpen": "", "sampleText": "Insert comment here"}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images3.wikia.nocookie.net/central/images/a/a7/ButtonYouTube.png", "speedTip": "Embed a YouTube Video", "tagOpen": " ", "tagClose": " ", "sampleText": "Video File"};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/central/images/4/47/Button_redir.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ", "tagClose": "", "sampleText": "Insert text"};

/*############################################################################*/ /*######################### End Custom Edit Buttons###########################*/ /*############################################################################*/

[[Category:", "tagClose": "]]