User:Nyxiju/global.js

//Announcements ignore from one wiki window.announcementsIgnore = { option: 'opt-in-all', exceptWikiIds: [ 3168248   ] }; //Copy from here... if (!window.andrewds1021) { window.andrewds1021 = { ignore_notifications: {} }; } else if (!window.andrewds1021.ignore_notifications) { window.andrewds1021.ignore_notifications = {}; } window.andrewds1021.ignore_notifications = { ignore_errors: true, filters: [ {           types: "discussion-upvote", }   ] }; //...to here to remove upvote notifs. Also look at the import statements.

//Theme selector without reloading configs window.ThemeSelector = window.ThemeSelector || {}; window.ThemeSelector.hideBuiltIn = true; window.ThemeSelector.addSticky = true;

//idk if this works window.AjaxContentModel = { reaons: { 'Main': { 'Test': 'Test', },		'Other': { 'Module Redirect': 'Module Redirect', },   },	doKeyBind: true, shortcutKey: "q", toolbarPlacement: "toolbar", appendToContentMenu: true, };

//Configs for custom global navbar window.globalNavButtons = [ {		text: 'Fan Central', icon: ' ', url: 'https://fandom.com/fancentral/home', isMain: true, whoIsMain: false, shortName: 'Fans' },	{		text: 'Wikis', icon: ' ', isMain: true, whoIsMain: false, shortName: 'Wiki' },	{		text: 'WOF', url: 'https://wingsoffire.fandom.com', isMain: false, whoIsMain: 'Wiki', shortName: 'wof' },	{		text: 'StarWars', url: 'https://starwars.fandom.com', isMain: false, whoIsMain: 'Wiki', shortName: 'SW' },	{		text: 'LRDF', url: 'https://les-royaumes-de-feu.fandom.com/fr', isMain: false, whoIsMain: 'Wiki', shortName: 'Lrdf' },	{		text: 'C&H', url: 'https://comfort-and-healing.fandom.com', isMain: false, whoIsMain: 'Wiki', shortName: 'C+h' },	{		text: 'Developer', url: 'https://dev.fandom.com', isMain: false, whoIsMain: 'Wiki', shortName: 'dev' },	{		text: 'Community', url: 'https://community.fandom.com', isMain: false, whoIsMain: 'Wiki', shortName: 'Com' },	{		text: 'Discuss', icon: ' ', isMain: true, whoIsMain: false, shortName: 'disc' },	{		text: 'WOF', url: 'https://wingsoffire.fandom.com/f', isMain: false, whoIsMain: 'disc', shortName: 'woff' },	{		text: 'StarWars', url: 'https://starwars.fandom.com/f', isMain: false, whoIsMain: 'disc', shortName: 'SWf' },	{		text: 'LRDF', url: 'https://les-royaumes-de-feu.fandom.com/fr/f', isMain: false, whoIsMain: 'disc', shortName: 'Lrdff' },	{		text: 'C&H', url: 'https://comfort-and-healing.fandom.com/f', isMain: false, whoIsMain: 'disc', shortName: 'C+hf' },	{		text: 'Developer', url: 'https://dev.fandom.com/f', isMain: false, whoIsMain: 'disc', shortName: 'devf' },	{		text: 'Community', url: 'https://community.fandom.com/f', isMain: false, whoIsMain: 'disc', shortName: 'Comf' },	{		text: 'Code', icon: ' ', isMain: true, whoIsMain: false, shortName: 'code' },	{		text: 'Wikicode', url: 'https://bewitchment.fandom.com/wiki/Help/Wiki_Code', isMain: false, whoIsMain: 'code', shortName: 'wtxt' },	{		text: 'Custom Scrollbar', url: 'https://dev.fandom.com/wiki/CSS_Cookbook#Scrollbar_customization', isMain: false, whoIsMain: 'code', shortName: 'scrl' },	{		text: 'Custom Header', url: 'https://dev.fandom.com/wiki/CustomHeaderDropdown', isMain: false, whoIsMain: 'code', shortName: 'chd' },	{		text: 'Custom Username', url: 'https://custom.fandom.com/wiki/Custom_username_colors', isMain: false, whoIsMain: 'code', shortName: 'CU' },	{		text: '3D Infoboxes', url: 'https://fantastic-frontier-roblox.fandom.com/wiki/Harvestables', isMain: false, whoIsMain: 'code', shortName: 'cllthng' },	{		text: 'Mod Stuff', url: 'https://wingsoffire.fandom.com/wiki/MediaWiki:ModStuff.css', isMain: false, whoIsMain: 'code', shortName: 'ms' },	{		text: 'Image Formatting', url: 'https://prisonbreak.fandom.com/wiki/Template:Sidebar_actor/doc', isMain: false, whoIsMain: 'code', shortName: 'if' },	{       text: 'Start A Wiki', url: 'https://community.fandom.com/wiki/Special:CreateNewWiki', icon:' ', isMain: true, whoIsMain: false, shortName: 'cnw' } ]; importArticles({	type: 'script',	articles: [		//The one below is the import statement you need to remove upvote notifs		'u:dev:MediaWiki:IgnoreNotifications.js',		//That one above ^^		'u:dev:MediaWiki:AnnouncementsIgnore.js',		'u:dev:MediaWiki:ThemeSelector.js',		'u:dev:MediaWiki:CollapseGlobalNavButton.js',		'u:dev:MediaWiki:GlobalNavButtons.js',		'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js',		'u:dev:MediaWiki:AjaxContentModel.js',	] });