User:AndreMor/global.js

$('head').append('');

window.globalNavButtons = [ {   text: 'Wubbzypedia', url: 'https://wubbzy.fandom.com', isMain: true, whoIsMain: false, shortName: 'wp' }, {    text: 'Spanish version', url: 'https://wubbzy.fandom.com/es', isMain: false, whoIsMain: 'wp', shortName: 'eswp' }, {    text: 'User page', url: 'https://wubbzy.fandom.com/User:AndreMor', isMain: false, whoIsMain: 'wp', shortName: 'up' }, {    text: 'Home', url: 'https://wubbzy.fandom.com/Wubbzypedia', isMain: false, whoIsMain: 'wp', shortName: 'home' }, {    text: 'Recent changes', url: 'https://wubbzy.fandom.com/Special:RecentChanges', isMain: false, whoIsMain: 'wp', shortName: 'rc' }, {    text: 'Admin Dashboard', url: 'https://wubbzy.fandom.com/Special:AdminDashboard', isMain: false, whoIsMain: 'wp', shortName: 'ad' }, {    text: 'Community CSS', url: 'https://wubbzy.fandom.com/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'wp', shortName: 'css' }, {    text: 'ImportJS', url: 'https://wubbzy.fandom.com/MediaWiki:ImportJS', isMain: false, whoIsMain: 'wp', shortName: 'imjs' }, {    text: 'Community JS', url: 'https://wubbzy.fandom.com/MediaWiki:Common.js', isMain: false, whoIsMain: 'wp', shortName: 'js' }, {    text: 'Other Wikis', url: '', isMain: true, whoIsMain: false, shortName: 'ow' }, {    text: 'The Wubb Club', url: 'https://wubbzyfanon.fandom.com', isMain: false, whoIsMain: 'ow', shortName: 'twc' }, {    text: 'Community Central', url: 'https://community.fandom.com', isMain: false, whoIsMain: 'ow', shortName: 'cc' }, {    text: 'Community Central (Spanish)', url: 'https://comunidad.fandom.com', isMain: false, whoIsMain: 'ow', shortName: 'cs' }, {    text: 'Dev Wiki', url: 'https://dev.fandom.com', isMain: false, whoIsMain: 'ow', shortName: 'dev' } ];

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PortableCSSPad/code.js',        'u:dev:MediaWiki:MercuryPreview/code.js',        'u:dev:MediaWiki:WhatLinksHere/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:ThemeToggler.js',        'u:dev:MediaWiki:CodeLinksDropdown.js',        'u:dev:MediaWiki:PortabilityShortcuts.js',        'u:dev:MediaWiki:ToggleTestMode/code.js',    ] }); if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:dev:MediaWiki:PatrolPanel.js',    ] }); }