User:HumansCanWinElves/global.js

debugger; var URLparams = new URLSearchParams(window.location.search); var myDebug = URLparams.get('myDebug') === '1'; var config = mw.config.get( [        "wgServer",    ] );

// Configuration for ViewNotificationsUsers and related window.andrewds1021 = window.andrewds1021 || {}; window.andrewds1021.view_notifications_users = window.andrewds1021.view_notifications_users || {}; window.andrewds1021.view_notifications_users.all_types = true; window.andrewds1021.view_notifications_users.limit = 50; window.andrewds1021.view_notifications_users.content = "name"; if (URLparams.get('notifList') !== 'full') { window.andrewds1021.get_on_site_notifications = { default_count: 5 }; }

// Configuration for MassEdit window.MassEditConfig = { interval: 2500, placement: { element: "toolbar", type: "append" } };

window.myImports = [

// Additional actions 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:ThemeToggler.js',          // light/dark theme

'u:dev:MediaWiki:MultipleActivity.js', 'u:dev:MediaWiki:Bang.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:OrganizedSocialActivity.js', 'u:dev:MediaWiki:ViewNotificationsUsers.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', // Marked as unmaintained but works 'u:dev:MediaWiki:Wikimarks/code.js', ];

if (myDebug) { $.getScript('https://dev.fandom.com/wiki/MediaWiki:OrganizedSocialActivity.js'	   	+ '?action=raw&ctype=text/javascript&only=scripts'); }

importScriptPage('User:HumansCanWinElves/testing.js', 'dev'); importArticles({   type: 'script',    articles: window.myImports });