User:Grsaar11/global.js

// AjaxBatchDelete Configuration window.batchDeleteDelay = 2000;

// AnchoredRollback Configuration anchoredRollbackBot = true;

// DiscussionsRailModule Configuration window.discussionsModuleConfig = { 'mostrecent' : 'true', }

// EditConflictAlert Configuration window.EditConflictAlertInterval = 15000;

// FastDelete Configuration switch (wgContentLanguage) { case "de": window.fdButtons = [ {               summary: 'Vandalismus', label: 'V'           }, {               summary: 'Clean-up', label: 'C'           }, {               summary: 'Spam', label: 'S'           } ];       break; default: window.fdButtons = [ {               summary: 'Vandalism', label: 'V'           }, {               summary: 'Spam', label: 'S'           } ]; }

// FileUsageAuto-update Configuration LIRoptions = { delay: 2000 };

// MassCategorization Configuration massCategorizationDelay = 2000;

// MassNullEdit Configuration window.nullEditDelay = 2000;

// MassProtect Configuration window.massProtectDelay = 2000;

// MassRename Configuration massRenameDelay = 2000;

// QuickCreateUserPage Configuration switch(wgContentLanguage) { case "de": window.qtUserPageTemplate = ''; break; case "fr": window.qtUserPageTemplate = ''; break; default: window.qtUserPageTemplate = ''; }

window.qtEnableUserPageOverwrite = true;

// Standard Edit Summary Configuration window.dev = window.dev || {}; switch(wgContentLanguage) { case "de": window.dev.editSummaries = { select: [ '(Wählen)', '1. Inhalt', [ 'typo', 'Korrektur', 'Ergänzung', 'Formatierung', 'Interwiki Link hinzugefügt' ],           '2. Vorlagen und Kategorien', [ 'Vorlageneinbindung', 'Infobox hinzugefügt', 'Kategorie hinzugefügt' ],           '3. Vandalismus/Spam', [ 'Vandalismus zurückgesetzt', 'Spam entfernt' ]       ]    };    break; default: window.dev.editSummaries = { select: [ '(Click to browse)', '1. Content', [ 'typo', 'Correction', 'Formatting', 'Added interwiki link' ],           '2. Templates and Categories', [ 'Added template', 'Added infobox', 'Added category' ],           '3. Vandalism/Spam', [ 'Reverted vandalism', 'Removed spam' ]       ]    }; }

// WHAM Configuration window.WHAMDelay = 2000; window.WHAMDeleteReason = "Cleanup";

// Imported Scripts mw.loader.getScript('https://dev.fandom.com/load.php?mode=articles&articles=MediaWiki:ArticlesAsResources.js&only=scripts').then(function {

importArticles({   type: 'script',    articles: [    	'u:dev:MediaWiki:AjaxBatchDelete.js',    	'u:dev:MediaWiki:AllPagesHideRedirect/code.js',        //'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:DisableInfoboxBuilder.js',        //'u:dev:MediaWiki:DiscussionsActivity.js',        'u:dev:MediaWiki:DiscussionsRailModule/UCP.js',        //'u:dev:MediaWiki:DupeArgs.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:FastDelete/code.js',        'u:dev:MediaWiki:FileUsageAuto-update/code.js',        //'u:dev:MediaWiki:InfoboxEditorPreview.js',        'u:dev:MediaWiki:ListFiles/code.js',        'u:dev:MediaWiki:LivePreviewWarnings.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:MassProtect/code.js',        'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:MultiUpload/code.js', 'u:dev:MediaWiki:PageRenameAuto-update/code.js', //'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:ProtectionIcons.js', //'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:Standard Edit Summary/code.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', ] });

});

$(function {   //Link to RecentChangesMultiple in quickbar    $('#WikiaBar .toolbar .tools').append('RC Multiple');    //Link to global.js in quickbar	$('#WikiaBar .toolbar .tools').append('global.js'); });