User:Крош и Шорк/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:Wikificator.js',    ] });

window.UserStatusSettings = { colorBlindMode: 1, lightTheme: 1, statusIndicator: 0, };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MastheadRightsBadge.js',    ] });

window.Rollback = { confirm: true };

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:Rollback/code.js',    ] });

importArticles({   type: 'script',    articles: [        // ...        'u:dev:MediaWiki:RailWAM/code.js'    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:CommentPreview/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ViewRemoved/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RollbackSpamUserContribs/code.js',    ] });

window.gnWikiLinks = ['//prostokvashino.fandom.com/ru|Простоквашино вики', '//losyash-library.fandom.com/ru|Библиотека Лосяша', '//shararam.fandom.com|Шарарам вики', '//barboskiny.fandom.com/ru|Барбоскины вики'], '//warriors-cats.fandom.com/ru|Коты-воители вики'; $(function {    var $menu = $('.wds-global-navigation__link-group .wds-list'),        links = window.gnWikiLinks || [];    if (!$menu.length || !links.length) return;    links.forEach(function (v) { var link = v.replace(/\[|\]/g, ''), $a = $('', {               href: (/(.*?)\||$/.exec(link) || {})[1] || link,                text: (/\|(.*)/.exec(link) || {})[1] || link,                title: link            }); $menu.prepend($('').append($a)); }); });