User:BOot42/global.js

// ANNOUNCEMENTS - window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 2010886,   // FAM ] };

// GLOBAL NAV window.globalNavButtons = [

// ME { text: 'Me',					url: 'https://community.fandom.com/wiki/User:Oot42', isMain: true,	whoIsMain: false,	shortName: 'Me',	icon: 'ME' },{	text: 'Userpages',			url: mw.util.getUrl('User:Oot42/Userpages'), isMain: false,	whoIsMain: 'Me',	shortName: 'up' },{	text: 'Sandbox',			url: mw.util.getUrl('User:Oot42/Sandbox'), isMain: false,	whoIsMain: 'Me',	shortName: 'sb' },{	text: 'Local CSS',			url: mw.util.getUrl('User:Oot42/common.css'), isMain: false,	whoIsMain: 'Me',	shortName: 'l-css' },{	text: 'Local JS',			url: mw.util.getUrl('User:Oot42/common.js'), isMain: false,	whoIsMain: 'Me',	shortName: 'l-js' },{	text: 'Global CSS',			url: 'https://community.fandom.com/wiki/User:Oot42/global.css', isMain: false,	whoIsMain: 'Me',	shortName: 'g-css' },{	text: 'Global JS',			url: 'https://community.fandom.com/wiki/User:Oot42/global.js', isMain: false,	whoIsMain: 'Me',	shortName: 'g-js' },{	text: 'Global activity',	url: 'https://community.fandom.com/wiki/Special:UserActivity', isMain: false,	whoIsMain: 'Me',	shortName: 'g-a' }, // FAM --- {	text: 'FAM',				url: 'https://for-all-mankind.fandom.com/wiki/User:Oot42', isMain: true,	whoIsMain: false,	shortName: 'fam',	icon: 'FAM' },{	text: 'Userpages',			url: 'https://for-all-mankind.fandom.com/wiki/User:Oot42/Userpages', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-up' },{	text: 'Sandbox',			url: 'https://for-all-mankind.fandom.com/wiki/User:Oot42/sandbox-1', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-sb' },{	text: 'Recent Changes',		url: 'https://for-all-mankind.fandom.com/wiki/Special:RecentChanges', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-rc' },{	text: 'Logs',				url: 'https://for-all-mankind.fandom.com/wiki/Special:Log', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-log' },{	text: 'Search',				url: 'https://for-all-mankind.fandom.com/wiki/Special:Search', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-src' },{	text: 'Maintenance',		url: 'https://for-all-mankind.fandom.com/Category:Maintenance', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-mt' },{	text: 'Discussion',			url: 'https://for-all-mankind.fandom.com/f', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-dsc' },{	text: 'Reddit',				url: 'https://old.reddit.com/r/ForAllMankindTV/', isMain: false,	whoIsMain: 'fam',	shortName: 'fam-rd' },{ // EXP --- text: 'Expanse',			url: 'https://expanse.fandom.com/wiki/User:Oot42', isMain: true,	whoIsMain: false,	shortName: 'exp',	icon: 'EXP' },{	text: 'Userpages',			url: 'https://expanse.fandom.com/wiki/User:Oot42/Sandbox/My_Templates', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-up' },{	text: 'Sandbox',			url: 'https://expanse.fandom.com/wiki/User:Oot42/Sandbox', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-sb' },{	text: 'Recent Changes',		url: 'https://expanse.fandom.com/wiki/Special:RecentChanges', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-rc' },{	text: 'Search',				url: 'https://expanse.fandom.com/wiki/Special:Search', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-src' },{	text: 'Special Pages',		url: 'https://expanse.fandom.com/wiki/Special:SpecialPages', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-sp' },{	text: 'Discussion',			url: 'https://expanse.fandom.com/f', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-dsc' },{	text: 'Reddit',				url: 'https://old.reddit.com/r/TheExpanse/', isMain: false,	whoIsMain: 'exp',	shortName: 'exp-rd' }, // FANDOM {	text: 'Fandom',				url: '', isMain: true,	whoIsMain: false,	shortName: 'F',		icon: 'F' },{ text: 'Template Wiki',		url: 'https://templates.fandom.com', isMain: false,	whoIsMain: 'F',		shortName: 'f-tpl' },{	text: 'Dev Wiki',			url: 'https://dev.fandom.com', isMain: false,	whoIsMain: 'F',		shortName: 'f-dev' }, // CC 1 -- {	text: 'CC (me)',			url: 'https://community.fandom.com/wiki/User:Oot42', isMain: true,	whoIsMain: false,	shortName: 'C1',	icon: 'CC' },{	text: 'Userpages',			url: 'https://community.fandom.com/wiki/User:Oot42/Userpages', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-up' },{	text: 'Saved stuff',		url: 'https://community.fandom.com/wiki/User:Oot42/Userpages/Saved_Stuff', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-ss' },{	text: 'Archived stuff',		url: 'https://community.fandom.com/wiki/User:Oot42/Userpages/Archived', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-as' },{	text: 'Tools',				url: 'https://community.fandom.com/wiki/User:Oot42/Userpages/Tools', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-tls' },{	text: 'Sandbox 1',			url: 'https://community.fandom.com/wiki/User:Oot42/Sandbox', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-sb1' },{	text: 'Sandbox 2',			url: 'https://community.fandom.com/wiki/User:Oot42/Sandbox2', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-sb2' },{	text: 'Template user',		url: 'https://community.fandom.com/wiki/Template:User:Oot42', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-t1' },{	text: 'Template time',		url: 'https://community.fandom.com/wiki/Template:User:Oot42/time', isMain: false,	whoIsMain: 'C1',	shortName: 'c1-t2' }, // CC 2 -- {	text: 'CC (2)',				url: 'https://community.fandom.com/wiki/', isMain: true,	whoIsMain: false,	shortName: 'C2',	icon: 'CC' },{	text: 'Discussions',		url: 'https://community.fandom.com/f', isMain: false,	whoIsMain: 'C2',	shortName: 'c2-disc' },{	text: 'Help',				url: 'https://community.fandom.com/wiki/Help:Contents', isMain: false,	whoIsMain: 'C2',	shortName: 'c2-help' },{	text: 'Staff blog',			url: 'https://community.fandom.com/wiki/Blog:FANDOM_Staff_Blog', isMain: false,	whoIsMain: 'C2',	shortName: 'c2-blog' },{	text: 'Sandbox',			url: 'https://community.fandom.com/wiki/Community_Central:Sandbox', isMain: false,	whoIsMain: 'C2',	shortName: 'c2-sb' }, // HELP -- {	text: 'Help',				url: 'https://community.fandom.com/wiki/Help:Contents', isMain: true,	whoIsMain: false,	shortName: 'Help',	icon: '?' },{	text: 'Search',				url: mw.util.getUrl('Special:Search'), isMain: false,	whoIsMain: 'Help',	shortName: 'h-src' },{	text: 'Infoboxes',			url: 'https://community.fandom.com/wiki/Help:Infoboxes', isMain: false,	whoIsMain: 'Help',	shortName: 'h-ib' },{	text: 'Infoboxes/Tags',		url: 'https://community.fandom.com/wiki/Help:Infoboxes/Tags', isMain: false,	whoIsMain: 'Help',	shortName: 'h-ib-tags' },{	text: 'Infoboxes/CSS',		url: 'https://community.fandom.com/wiki/Help:Infoboxes/CSS', isMain: false,	whoIsMain: 'Help',	shortName: 'h-ib-css' },{	text: 'Galleries',			url: 'https://community.fandom.com/wiki/Help:Galleries', isMain: false,	whoIsMain: 'Help',	shortName: 'h-glr' }, // MEDIAWIKI - {	text: 'Mediawiki',			url: '', isMain: true,	whoIsMain: false,	shortName: 'mw',	icon: 'MW' },{	text: 'Parser functions',	url: 'https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions', isMain: false,	whoIsMain: 'mw',	shortName: 'mw-parfunc' },{	text: 'Magic words',		url: 'https://www.mediawiki.org/wiki/Help:Magic_words', isMain: false,	whoIsMain: 'mw',	shortName: 'mw-magwrd' },{	text: 'Formatting',			url: 'https://www.mediawiki.org/wiki/Help:Formatting', isMain: false,	whoIsMain: 'mw',	shortName: 'mw-format' },{	text: 'Calculation',		url: 'https://www.mediawiki.org/wiki/Help:Calculation', isMain: false,	whoIsMain: 'mw',	shortName: 'mw-calc' }, // TOOLS - {	text: 'Tools',				url: mw.util.getUrl('Special:SpecialPages'), isMain: true,	whoIsMain: false,	shortName: 'tls',	icon: 'T' },{ text: 'Prefix Index',		url: mw.util.getUrl('Special:PrefixIndex'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-pfi' },{	text: 'Contributions',		url: mw.util.getUrl('Special:Contributions'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-ctb' },{	text: 'User List',			url: mw.util.getUrl('Special:ListUsers'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-lsu' },{	text: 'User Rights',		url: mw.util.getUrl('Special:UserRights'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-lsu' },{	text: 'Common.css',			url: mw.util.getUrl('MediaWiki:Common.css'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-ccss' },{	text: 'Fandomdesktop.css',	url: mw.util.getUrl('MediaWiki:Fandomdesktop.css'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-fcss' },{	text: 'ImportJS',			url: mw.util.getUrl('MediaWiki:ImportJS'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-ijs' },{	text: 'Common.js',			url: mw.util.getUrl('MediaWiki:Common.js'), isMain: false,	whoIsMain: 'tls',	shortName: 'tls-cjs' }, ];

// IMPORT ARTICLES --- importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnnouncementsIgnore.js',    // announcements settings  | notifications        'u:dev:MediaWiki:GlobalNavButtons.js',       // own nav buttons         | left navigation        'u:dev:MediaWiki:ExploreMenuIcons.js',       // menu icons              | main dropdown menu        'u:dev:MediaWiki:NullEditButton/code.js',    // null edit button        | page dropdown        'u:dev:MediaWiki:View_Source/code.js',       // view source code        | page dropdown        'u:dev:MediaWiki:PortableCSSPad/code.js',    // CSS test tool           | toolbar //         'u:dev:MediaWiki:SandboxTab/code.js',        // sandbox tab             | user pages        'u:dev:MediaWiki:FirstEditDate.js',          // first edit date         | user pages        'u:dev:MediaWiki:Status/code.js',            // online status (pseudo)  | user pages 'u:dev:MediaWiki:UserAccountAge/code2.js',  // acc age & reg date      | user pages ] });