User:Grsaar11/global.js

// AjaxBatchDelete Configuration window.batchDeleteDelay = 1000;

// AnchoredRollback Configuration anchoredRollbackBot = true;

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

// EditConflictAlert Configuration window.EditConflictAlertInterval = 15000;

// FastDelete Configuration switch (mw.config.get( '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: 1000 };

// MassCategorization Configuration massCategorizationDelay = 1000;

// MassNullEdit Configuration window.nullEditDelay = 1000;

// MassProtect Configuration window.massProtectDelay = 1000;

// MassRename Configuration massRenameDelay = 1000;

// QuickCreateUserPage Configuration switch(mw.config.get( '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(mw.config.get( '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 = 1000; window.WHAMDeleteReason = "Cleanup";

// Imported Scripts 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:ListFiles/code.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'); });