User:Doork/global.js

window.ajaxRefresh = 100; window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:Images", "Special:WikiActivity" ]; window.AjaxRCRefreshText = 'Refresh'; window.AjaxRCRefreshHoverText = 'Refreshing'; var PrivateMessageAlert = { message: '$1 sent you a message!', notifications: true, alertWhileFocused: true };

// Quick Userpage var qtEnableUserPageOverwrite = true; var qtUserPageTemplate = '';

// Quick Access to EditCount if ($('.tally').length) { var $tally = $('.tally'); $tally.attr('title', 'EditCount'); $tally.click(function { window.location.href = wgServer + '/wiki/Special:EditCount/' + $('h1[itemprop="name"]').text; }); }

/* Scripts */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:DisplayClock/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:ExternalImageLoader/code.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:QuickComments/code.js', 'u:dev:MediaWiki:UnsafeScripts/code.js', 'u:dev:MediaWiki:QuickThreads/code.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:CleanWantedFiles/code.js', 'u:dev:MediaWiki:AjaxBatchUndelete/code.js', 'u:dev:MediaWiki:AjaxBatchDelete/code.js', 'u:dev:MediaWiki:AjaxThreadUnfollow/code.js', 'u:dev:MediaWiki:MassBlock/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassUserRights/code.js', 'u:dev:MediaWiki:Linksweeper/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:botcentral:User:Peridoork/wikia.js', 'u:dev:Mediawiki:AjaxRC/code.js', 'u:botcentral:User:Ditto_Creeper_Bot/spamreport', 'u:dev:QuickToolsv2/code.js' ]   }); });

if (mw.config.get('wgCanonicalSpecialPageName') === 'Chat') { $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MessageBlocker/code.js', 'u:doork:SwearFree', 'u:botcentral:User:Peridoork/chat.js', 'u:communitytest:User:Peridoork/chat.js', 'u:dev:ChatNotifications/code.js', 'u:dev:MediaWiki:ChatHacks.js', 'u:dev:MediaWiki:PrivateMessageAlert/code.js' ]   }); }); }