User:Jet forever/global.js

if (wgCityId == '177') {importStylesheetPage('MediaWiki:WikiaCommunityCentralTheme/code.css', 'dev');} var qtUserPageTemplate = ''; var qtEnableUserPageOverwrite = true; massBlockDelay = 1000; WHAMBotMe = true; WHAMBotReason = "Cleanup"; WHAMDelay = 100; batchDeleteDelay = 1000; massRenameDelay = 1000; massRenameSummary = 'Nom français';

importArticles({   type: 'script',    articles: [        'u:dev:DiscussionsFeed.js',        'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',        'u:dev:MediaWiki:AjaxBatchUndelete/code.js',        'u:dev:MediaWiki:AjaxRC/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js', 'dev',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',        'u:fr.sshadow:MediaWiki:ChatOptions/code.js',        'u:dev:MediaWiki:FileUsageAuto-update/code.js',        'u:dev:MediaWiki:GlobalEditcount/code.js',        'u:dev:MediaWiki:NewPagesUser.js',        'u:dev:MediaWiki:MultiUpload/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:MassRename/code.js',        'u:dev:MediaWiki:Nuke/code.js', 'dev',        'u:dev:MediaWiki:PageRenameAuto-update/code.js',        'u:dev:MediaWiki:QuickCreateUserPage/code.js',        'u:dev:MediaWiki:Quick_Management/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:monchbox:MediaWiki:Torus.js' ] }); if (window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) {    var name = window.location.pathname.split('Special:InfoboxBuilder/')[1];     location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+name+'?action=edit&useeditor=source')); } importScriptPage('Sine/code.js', 'dev');

$(function { var cgn_color = window.getComputedStyle(document.querySelector('.wds-community-header__sitename a'), null).getPropertyValue('color');  var cgn_background = window.getComputedStyle(document.querySelector('.wds-community-header'), null).getPropertyValue('background-color');  var cgn_wrapper = document.querySelector('.wds-global-navigation-wrapper').style;  cgn_wrapper.setProperty('--cgn-color-background', cgn_background);  cgn_wrapper.setProperty('--cgn-color-text', cgn_color);  cgn_wrapper.setProperty('--cgn-color-text-secondary', cgn_color);  cgn_wrapper.setProperty('--cgn-color-accent', cgn_color);  cgn_wrapper.setProperty('--cgn-color-chevron', cgn_color); });