User:TRJ-VoRoN/global.js

importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:LastEdited/code.js',         'u:dev:MediaWiki:ThemeToggler.js',         'u:dev:MediaWiki:EmeraldGlobalNav.js'    ] });

window.lastEdited = { comment: false, };

/*Менюшки*/ window.globalNavButtons = [ {   text: 'Меню', url: '', isMain: true, whoIsMain: false, shortName: '2' },         {    text: 'MultipleActivity', url: '/ru/wiki/Special:MultipleActivity', isMain: false, whoIsMain: '2', shortName: '' },          {    text: 'Уведомления', url: '/ru/wiki/MediaWiki:Sitenotice', isMain: false, whoIsMain: '2', shortName: '' },    {    text: 'Изменить Нав меню', url: '/ru/wiki/MediaWiki:Wiki-navigation?action=edit', isMain: false, whoIsMain: '2', shortName: '' },   {    text: 'MediaWiki:ImportJS', url: '/ru/wiki/MediaWiki:ImportJS', isMain: false, whoIsMain: '2', shortName: '' },       {    text: 'MediaWiki:Edittools', url: '/ru/wiki/MediaWiki:Edittools', isMain: false, whoIsMain: '2', shortName: '' },          {    text: 'Править Global JS', url: 'https://community.fandom.com/wiki/User:TRJ-VoRoN/global.js?action=edit', isMain: false, whoIsMain: '2', shortName: '' }, {    text: 'Ещё', url: '', isMain: true, whoIsMain: false, shortName: '3' },       {   text: 'Вики Сообщество', url: 'https://community.fandom.com/ru/', isMain: false, whoIsMain: '3', shortName: '' },       {    text: 'Project:Medals', url: '/ru/wiki/Project:Medals', isMain: false, whoIsMain: '3', shortName: '' },       {    text: 'ProfileTag', url: '/ru/wiki/MediaWiki:ProfileTags', isMain: false, whoIsMain: '3', shortName: '' }, ];

window.customToolbarLinks = [ { // Link added to "My Tools" menu action: "link", title: "Edit Dev Common CSS", placement: "myTools", address: "w:c:dev:Special:MyPage/common.css?action=edit", },   { // Single script import action: "import", title: "CQL", placement: "myTools", scripts: [ "MediaWiki:CodeQuickLinks/code.js" ]   },    { // Single stylesheet import action: "import", title: "Dark Nav", placement: "toolbar", styles: [ "DarkScrollingGlobalNav.css" ]   },    { // Import scripts and stylesheets action: "import", title: "PseudoMonobook Tools", placement: "toolbar", scripts: [ "ToggleSideBar/code.js", "SkinSwitchButton/code.js" ],       styles: [ "PseudoMonobook.css", "Highlight.css" ]   } ];

$(function{ $('.page-header__actions').prepend('');

mw.hook('dev.wds').add(function(wds) {   $('#mobilelink').append( $(' ', {           'id': 'dev-wds-icons-pages'        }) );   wds.render('#mobilelink'); }); });