User:Grsaar11/global.js

// AjaxBatchDelete Configuration window.batchDeleteDelay = 2000;

// AnchoredRollback Configuration anchoredRollbackBot = true;

/* EditConflictAlert Configuration var EditConflictAlertInterval = 15000; */

/* 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', [ 'Reverted vandalism', 'Removed spam' ]       ]    };    break; }

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

importArticles({   type: 'script',    articles: [    	'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        //'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:DisableInfoboxBuilder.js',        'u:dev:MediaWiki:DiscussionsActivity.js',        //'u:dev:MediaWiki:DiscussionsRailModule/code.js',        //'u:dev:MediaWiki:EditConflictAlert/code.js',        //'u:dev:MediaWiki:FileUsageAuto-update/code.js',        //'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:InfoboxEditorPreview.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', ] });

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

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

//FD $(function {	if (mw.config.get('wgWikiaEnvironment') !== "sandbox") return;	if (mw.config.get('wgCanonicalSpecialPageName') !== "ThemeDesigner") return;	if (mw.config.get('themeDesignerState') === null) location.reload; });

mw.loader.using('mediawiki.api').then(function{	if (mw.config.get('wgWikiaEnvironment') !== "sandbox") return;	if (mw.config.get('skin') === "fandomdesktop") return;	if (mw.config.get('wgCanonicalSpecialPageName') === "ThemeDesigner") return;	new mw.Api.saveOption('skin','fandomdesktop').then(function { location.reload; }); });