User:Demise101/global.js

importArticles({   type: 'script',    articles: [	'u:dev:DisplayClock/code.js',	'u:dev:AjaxPatrol/code.js',	'u:dev:BackToTopButton/code.js',	'u:dev:AjaxUndo/code.js',	'u:dev:AjaxRC/code.js',	'u:dev:AutoEditDropdown/code.js',	'u:dev:SearchGoButton/code.js',	'u:dev:DupImageList/code.js',	'u:dev:RevealAnonIP/code.js',        'u:dev:UserRightsRecord/code.js'    ] }); importScriptPage('PurgeButton/code.js', 'dev'); PurgeButtonText = 'Purge'; importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

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

//* add contribs to user menu - 2/1/11; by Monchoman45 */ function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); } addOnloadHook(UserContribsMenuItem);

ajaxPages = ["Special:RecentChanges","Special:WikiActivity","Special:Log"];

// rewrites "Edit Text" links to "Upload File" links on Special:WantedFiles $(function {   if ("Special" == wgCanonicalNamespace && "WantedFiles" == wgCanonicalSpecialPageName) {        $('ol.special a.new').each(function { var m = $(this).attr('href').match(/title=File:([^&]+)/); if (m) { $(this).attr({                   href: '/wiki/Special:Upload?wpDestFile=' + m[1],                    title: 'Upload ' + m[1]                }); }       });    } });

/* Find and Replace- Kangaroopower */ importScriptPage('Mediawiki:FindReplace.js', 'kangaroopower');

if ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#Redirect [[",		"tagClose": "",		"sampleText": " ",		"imageId": "myEditButton-redirect"	};	mwCustomEditButtons[mwCustomEditButtons.length] = {		"imageFile": "http://images.wikia.com/central/images/c/c9/Button_strike.png",		"speedTip": "Strike",		"tagOpen": " ",		"tagClose": " ",		"sampleText": " ",		"imageId": "myEditButton-strike"

};	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.wikia.com/skins/common/images/button_hr.png", "speedTip": "Dash", "tagOpen": "&mdash;", "tagClose": "", "sampleText": "", "imageId": "myEditButton-strike"

};	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/1/13/Button_enter.png", "speedTip": "Line break", "tagOpen": " ", "tagClose": "", "sampleText": "", "imageId": "myEditButton-linebreak" };	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", "imageId": "myEditButton-comment" };	mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.wikia.com/skins/common/images/button_bold.png", "speedTip": "Bullet Point", "tagOpen": "&bull;", "tagClose": "", "sampleText": "", "imageId": "myEditButton-comment" };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c0/Button_link.png", "speedTip": "Link Creation", "tagOpen": "",		"tagClose": "", "sampleText": " ", "imageId": "myEditButton-link" }; }

// Create if not exists if (!window.BotoneraPopups) { window.BotoneraPopups = {}; } // Change key binding for opening popup window.BotoneraPopups.displayOnKey = $.extend(true, window.BotoneraPopups.displayOnKey, {ctrlKey: false, altKey: false, shiftKey: true});

importScriptPage('User:BryghtShadow/WikiaArticleComments.js', 'c');