MediaWiki:Common.js

// Ajax Batch Delete importScriptPage('AjaxBatchDelete/code.js', 'dev');

//AjaxRC window.ajaxPages = ["Some Frequently Updated Page"]; window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxIndicator = 'https://images.wikia.nocookie.net/common/skins/common/images/ajax.gif'; window.ajaxRefresh = 30000;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AddArticleToCategory/code.js',    ] });

//Back To the Top window.BackToTopModern = true; window.BackToTopStart = 200;

/* Custom edit buttons */ function addCustomButton(imageFile, speedTip, tagOpen, tagClose, sampleText) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": imageFile, "speedTip": speedTip, "tagOpen": tagOpen, "tagClose": tagClose, "sampleText": sampleText }; } /* Redirect Page*/ addCustomButton('http://images.wikia.com/central/images/c/c8/Button_redirect.png',		'Redirect',		'#REDIRECT ',		'',		'Insert text');

/* Character */ addCustomButton('https://vignette.wikia.nocookie.net/central/images/d/df/Button_blank.png','Add Character Infobox','',' \n |name = \n |image = \n |caption = \n |Full Name = \n |Birthdate = \n |Birthplace = \n |Height = \n |Weight = \n |Blood Type = \n |Family/Relatives = \n |Job/Occupation = \n |Likes = \n |Dislikes = \n |Hobbies = \n |Favorite Food = \n |Forte in Sports = \n |Special Skill = \n |Most Unpleasant = \n |Favorite Music = \n |Measurements (Bust, Waist, Hip) = \n |Weapon = \n |Fighting Style = \n');