User:ZioreRogue/global.js

window.globalNavButtons = [ {       text: 'EEW', url: 'https://empireearth.fandom.com/wiki/Special:RecentChanges', isMain: false, whoIsMain: false, shortName: 'EEW' },   {        text: 'PPW', url: 'https://peterpan.fandom.com/wiki/Special:RecentChanges', isMain: true, whoIsMain: false, shortName: 'PPW' },   {        text: 'GSW', url: 'https://geronimostilton.fandom.com/wiki/Special:RecentChanges', isMain: true, whoIsMain: false, shortName: 'GSW' },   {        text: 'PPATPW', url: 'https://peterpanandthepirates.fandom.com/wiki/Special:RecentChanges', isMain: true, whoIsMain: false, shortName: 'PPATPW' },   {        text: 'TNAOPPW', url: 'https://the-new-adventures-of-peter-pan.fandom.com/wiki/Special:RecentChanges', isMain: true, whoIsMain: false, shortName: 'TNAOPPW' },   {        text: 'X-Men', url: 'https://x-men.fandom.com/wiki/Special:RecentChanges', isMain: true, whoIsMain: false, shortName: 'xmen' },   {        text: 'CC', url: 'https://community.fandom.com/f', isMain: true, whoIsMain: false, shortName: 'CC' },   {        text: 'Dev', url: 'https://dev.fandom.com/wiki/List_of_JavaScript_enhancements', isMain: true, whoIsMain: false, shortName: 'DW' }, ]; /* Imported scripts from the Dev Wiki. MassNullEdit: PurgeButton: Adds an option to the page dropdown to purge it ThemeToggler: Allows quick toggle between Light/Dark mode without reloading the page BackToTopButton: Adds a button which appears when scrolling down an article, which takes the user straight back to the top of the article GlobalNavButtons: Allows customization of the links on the global Fandom bar importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:MediaWiki:ThemeToggler.js',        'u:dev:MediaWiki:BackToTopButton/code.js',        'u:dev:MediaWiki:GlobalNavButtons.js',    ] });