User:U.ayaao.p/global.js

window.globalNavButtons = [ {		text: 'voca', url: 'https://vocaloid.fandom.com/ru/wiki/', isMain: false, whoIsMain: false, shortName: 'ruvcw' },	{		text: 'vtuber', url: 'https://virtualyoutuber.fandom.com/ru/wiki/', isMain: false, whoIsMain: false, shortName: 'vtuber' },	{		text: 'global', url: '', isMain: true, whoIsMain: false, shortName: 'glob' },	{		text: 'global css', url: 'https://community.fandom.com/wiki/User:U.ayaao.p/global.css?action=edit', isMain: false, whoIsMain: 'glob', shortName: 'css' },	{		text: 'global js', url: 'https://community.fandom.com/wiki/User:U.ayaao.p/global.js?action=edit', isMain: false, whoIsMain: 'glob', shortName: 'js' },	{		text: 'wiki', url: '', isMain: true, whoIsMain: false, shortName: 'wiki' },	{		text: 'Common.css', url: mw.util.getUrl('MediaWiki:Common.css'), isMain: false, whoIsMain: 'wiki', shortName: 'commoncss' },	{		text: 'Common.js', url: mw.util.getUrl('MediaWiki:Common.js'), isMain: false, whoIsMain: 'wiki', shortName: 'commonjs' },	{		text: 'Fandomdesktop.css', url: mw.util.getUrl('MediaWiki:Fandomdesktop.css'), isMain: false, whoIsMain: 'wiki', shortName: 'fdcss' }, ];

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ResponsiveMobile.js',        'u:dev:MediaWiki:MultiUpload.js',        'u:dev:MediaWiki:Wikificator.js',        'u:dev:MediaWiki:ThemeToggler.js',        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:CopySectionSource.js',        'u:dev:MediaWiki:TemplatesUsedModule.js',        'u:dev:MediaWiki:ReferencePopups/code.js',    ] });

$( function {	$('#p-views.page-header__actions #p-cactions > ul.wds-list.wds-is-linked').append( $('').append(			$('',{ href: mw.util.getUrl(mw.config.get('wgPageName')) + '?useskin=fandommobile', text: 'FandomMobile' })		)	);	});

$( function {	var allpagesbutton = $('.fandom-community-header__local-navigation .explore-menu a[data-tracking="explore-all-pages"]').parent;	$(allpagesbutton).addClass('wds-dropdown-level-nested is-calculated').find('a').addClass('wds-dropdown-level-nested__toggle').append( $(' ') ).after( $(' ',{'class': 'wds-is-not-scrollable wds-dropdown-level-nested__content'}).append(			$('', {'class': 'wds-list wds-is-linked'}).append( $('').append(					$('',{ href: mw.util.getUrl('Special:AllPages') + '?from=&to=&namespace=10', text: 'Templates' })				),				$('').append(					$('',{ href: mw.util.getUrl('Special:AllPages') + '?from=&to=&namespace=8', text: 'MediaWiki' })				),				$('').append(					$('',{ href: mw.util.getUrl('Special:AllPages') + '?from=&to=&namespace=828', text: 'Modules' })				)			)		)	); } );