User:Pogodaanton/global.js

// Custom Edit Buttons by DarkBarbarian copied from AmonFatalis window.mwCustomEditButtons = window.mwCustomEditButtons || []; window.mwCustomEditButtons.push({   imageFile: 'data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2220%22%20height=%2220%22%20viewBox=%220%200%2020%2020%22%3E%3Ctitle%3Earticle%20redirect%3C/title%3E%3Cpath%20d=%22M5%201a2%202%200%200%200-2%202v1c0%205%202%208%207%208V9l5%204-5%204v-3c-3.18%200-5.51-.85-7-2.68V17a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V3a2%202%200%200%200-2-2z%22%20fill=%22%23d3d2d0%22/%3E%3C/svg%3E',    speedTip: 'Weiterleitung',    tagOpen: '#REDIRECT [' + '[',    tagClose: ']]',    sampleText: 'R' }); window.mwCustomEditButtons.push({   imageFile: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjMiIGhlaWdodD0iNDEuMzEiIHZpZXdCb3g9IjIuOTg0IDIuOTg0IDE0LjU3OCAyMyI+PGRlZnM+PHRleHQgaWQ9ImEiIHg9IjkuNDUiIHk9IjE4LjA1IiBhbGlnbm1lbnQtYmFzZWxpbmU9ImJlZm9yZS1lZGdlIiBkb21pbmFudC1iYXNlbGluZT0idGV4dC1iZWZvcmUtZWRnZSIgZm9udC1mYW1pbHk9Ik9wZW4gU2FucyIgZm9udC1zaXplPSIxNCIgbGV0dGVyLXNwYWNpbmc9IjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01LjQ2OSAtMTQuMDYzKSIgc3R5bGU9ImxpbmUtaGVpZ2h0OjEwMCUiPjx0c3BhbiB4PSI5LjQ1IiBhbGlnbm1lbnQtYmFzZWxpbmU9ImJlZm9yZS1lZGdlIiBkb21pbmFudC1iYXNlbGluZT0idGV4dC1iZWZvcmUtZWRnZSIgZHk9IjBlbSI+4oCe4oCcPC90c3Bhbj48L3RleHQ+PC9kZWZzPjx1c2UgZmlsbD0iI2QzZDJkMCIgeGxpbms6aHJlZj0iI2EiLz48L3N2Zz4=',    speedTip: 'Anführungszeichen',    tagOpen: '„',    tagClose: '“',    sampleText: 'M' });

// Global.js button in account menu $('.wds-global-navigation__user-menu .wds-list > li:first').before('Globales JS');

window.vanguardToolsConfig = { create: true }

// Imports importArticles({   type: 'script',    articles: [        "u:dev:QuickIW/code.js",        "u:dev:MediaWiki:SmoothGlobalNav/code.js",        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:VanguardTools.js',        'u:dev:MediaWiki:ModernProfile/EditButton.js',        'u:dev:MediaWiki:ProtectionIcons.js',        'u:dev:MediaWiki:RecentChangesMultiple/code.2.js',        'u:dev:MediaWiki:SkinSwitch.js',        'u:dev:MediaWiki:EditBio/code.js',        'u:dev:MediaWiki:QQX/code.js',        'u:dev:MediaWiki:MaximizeAce.js',        'u:dev:MediaWiki:InfoboxEditorPreview.js',        'u:dev:TVMH.js',        'u:dev:MediaWiki:StickySummary.js'    ] });