User:AndreMor/global.js

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

window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 6626,       177,        3487    ] };

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' }, {    text: 'Galaxy Life Wiki', url: 'https://galaxylife.fandom.com', isMain: false, whoIsMain: 'ow', shortName: 'gl' } ];

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnalyticsShortcut.js',    ] }); }

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MobileEditor.js',        'u:dev:MediaWiki:PortableCSSPad/code.js',        'u:dev:MediaWiki:GlobalNavButtons.js',        'u:dev:MediaWiki:MercuryPreview/code.js',        'u:dev:MediaWiki:AnnouncementsIgnore.js',        'u:dev:MediaWiki:MinimalTemplateClassification.js',        'u:dev:MediaWiki:WhatLinksHere/code.js',        'u:dev:MediaWiki:RandomPageShortcut/code.js',        'u:dev:MediaWiki:UnhideUserMasthead/code.js',    ] });