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;

// QuickCreateUserPage Configuration switch(wgContentLanguage) { case "de": window.qtUserPageTemplate = ''; break; case "en": 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; case "en": 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', [ 'Reverting vandalism', 'Removing spam' ]       ]    };    break; }

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

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:CategoryRenameAuto-update/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:FindAndReplace/code.js',        'u:dev:MediaWiki:InfoboxEditorPreview.js',        'u:dev:MediaWiki:LivePreviewWarnings.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:MultiUpload/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:QuickToolsv2/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.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:UserCheck/code.js', 'u:dev:MediaWiki:VanguardTools.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', ] });

});

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