User:Sophiedp/global.js

/* Sine settings */ Sine = { spacer: '' };

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

/* AutoEditDropdown settings */ window.AutoEditDropdownConfig = { expandedAreaContribute: true, expandedAreaEdit: false };

/* QuickCreateUserPage settings */ var qtEnableUserPageOverwrite = true;

/* QuickCreateMessageWallGreeting settings */ var qtEnableMessageWallGreetingOverwrite = true;

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

/* CustomToolbarLinks settings */ customPages = [ ['http://time.is/UTC', 'UTC Clock'], ['Help:Toolbar/List of available tools', 'Tools'] ];

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

/* Some random stuff */ importScriptURI('https://bitbucket.org/!api/2.0/snippets/marlene-melody/nK9oz/a5370878d720dd68c839670c258ea60fde3faad2/files/Global.js');

/* Sine */ importScriptURI('https://gist.githubusercontent.com/LunarTwilight/542e36111f0ebf3d12b09196be6151af/raw/bccc6778522b9d0a62b6115452e06dfcf7f93bd2/sine.js');

$(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:ColoredColors/code.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:FastDelete/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:UnsafeScripts/code.js', 'u:dev:MediaWiki:AntiUnicruft/code.js', 'u:dev:MediaWiki:CustomToolbarLinks/code.js' ]   }); });

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

/* Make QuickCreateUserPage and QuickCreateMessageWallGreeting scripts not load on SU */ if (wgCityId != "621556") { importScriptPage('MediaWiki:QuickCreateUserPage/code.js', 'dev'); importScriptPage('MediaWiki:QuickCreateMessageWallGreeting/code.js', 'dev'); }