User:Sophiedp/global.js

/* QuickTools settings */ var QuickToolsAdvancedtop = false;

/* AdvancedOasisUI settings */ window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, lightbox: true };

/* Block link in global masterhead */ $(window).load(function {   $('.tag-container').after('Block'); });

/* Alert if global.js loads in chat */ if ( wgCanonicalSpecialPageName == 'Chat' ) { alert('Global.js is loaded in chat!'); }

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

/* FastDelete settings */ var fdButtons = []; fdButtons.push({   'summary': 'Housekeeping',    'label': 'HK' });

//—————————————————————————————— ! ! ! ———————————————————————————————// /* Import scripts. NOTE: Place scripts configurations above this line */

/* Imports */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:embercastle:MediaWiki:Sine.js', 'u:embercastle:MediaWiki:ColoredColors.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:Wikimarks/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:QQX/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:AutoEditDropdown/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:Pseudo-Vector.js', 'u:dev:Mediawiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:QuickThreads/code.js', 'u:dev:MediaWiki:QuickContribs/code.js' ]   }); });

/* Make DisplayClock and AdvancedOasisUI scripts not load on AT and SP */ if (wgCityId != "7553" && wgCityId != "95") { importScriptPage('MediaWiki:DisplayClock/code.js', 'dev'); importScriptPage('MediaWiki:AdvancedOasisUI/code.js', 'dev'); }