User:Grsaar11/global.js

/* 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:AjaxRC.js',        'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:CommentPreview/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:DiscussionsViewer.js',        'u:dev:MediaWiki:EditBio/code.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:FileLogs.js',        'u:dev:MediaWiki:FileUsageAuto-update/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:LinkToDiscussionsProfileIfTheyDontHaveLivePosts/code.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:SavedDrafts.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:Standard Edit Summary/code.js', 'u:dev:MediaWiki:ToolbarLinks/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:UserCheck/code.js', 'u:dev:MediaWiki:VanguardTools.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:WLHEditLinks/code.js', ] });

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

/* ToolbarLinks Configuration */ window.customToolbarLinks = [ {       action: "link", title: "UserActivity", placement: "myTools", address: "w:c:c:Special:UserActivity", },   {        action: "link", title: "Diskussionen Aktivität", placement: "myTools", address: "Special:DiscussionsActivity", },   {        action: "link", title: "global.js", placement: "toolbar", address: "w:c:c:User:Grsaar11/global.js", },   {        action: "link", title: "RC Multiple", placement: "toolbar", address: "w:c:de.grsaar:Benutzer:Grsaar11/Letzte_Änderungen", } ];