User:Sophiedp/global.js

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

//—————————————————————————————— ! ! ! ———————————————————————————————// /* 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/a7315bb58ab0d03b63078d0dac0ffc8cdaf82f91/sine.js');

/* Imports */ $(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:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:AutoEditDropdown/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 script not load on SU */ if (wgCityId != "621556") { importScriptPage('MediaWiki:QuickCreateUserPage/code.js', 'dev'); }

/* If the wiki has message walls enabled and isn't SU, run the QuickCreateMessageWallGreeting script */ $.get('User_talk:Sophiedp', function(page) {   if ($(page).find('#Wall').length && wgCityId != '621556')         importScriptPage('MediaWiki:QuickCreateMessageWallGreeting/code.js', 'dev'); });