User:Aeywoo/global.js

// 1. AjaxRC configuration option window.ajaxRefresh = 30000;

// 2. MultiUpload configuration option window.MultiUploadoption = { max: 40 };

mw.loader.using('mediawiki.util').then(function {	window.globalNavButtons = [{			text: "Wikis",			url: "",			isMain: true,			whoIsMain: false,			shortName: "w"		},		{			text: "Terra Nil Wiki",			url: "https://terra-nil.fandom.com/wiki/Special:RecentChanges",			isMain: false,			whoIsMain: "w",			shortName: "tnw"		},		{			text: "Simpsons Hit & Run Wiki",			url: "https://simpsons-hit-and-run.fandom.com/wiki/Special:RecentChanges",			isMain: false,			whoIsMain: "w",			shortName: "shnrw"		},		{			text: "Personalization",			url: "",			isMain: true,			whoIsMain: false,			shortName: "p"		},		{			text: "Preferences",			url: "/wiki/Special:Preferences",			isMain: false,			whoIsMain: "p",			shortname: "pr"		},		{			text: "Personal CSS",			url: "/wiki/User:Aeywoo/common.css",			isMain: false,			whoIsMain: "p",			shortName: "mycss"		},		{			text: "Personal JS",			url: "/wiki/User:Aeywoo/common.js", isMain: false, whoIsMain: "p", shortName: "myjs" },		{			text: "Global CSS", url: "https://community.fandom.com/wiki/User:Aeywoo/global.css", isMain: false, whoIsMain: "p", shortName: "mygbcss" },		{			text: "Global JS", url: "https://community.fandom.com/wiki/User:Aeywoo/global.js", isMain: false, whoIsMain: "p", shortName: "mygbjs" },		{			text: "Wikia CSS", url: "/MediaWiki:Wikia.css", isMain: false, whoIsMain: "p", shortName: "wikiacss" },		{			text: "Wikia JS", url: "/MediaWiki:Wikia.js", isMain: false, whoIsMain: "p", shortName: "wikiajs" },		{			text: "Common CSS", url: "/MediaWiki:Common.css", isMain: false, whoIsMain: "p", shortName: "cmncss", },		{			text: "Common JS", url: "/MediaWiki:Common.js", isMain: false, whoIsMain: "p", shortName: "cmnjs" },		{			text: "FandomDesktop CSS", url: "/MediaWiki:Fandomdesktop.css", isMain: false, whoIsMain: "p", shortName: "fdcss" },		{			text: "FandomDesktop JS", url: "/MediaWiki:Fandomdesktop.js", isMain: false, whoIsMain: "p", shortName: "fdjs" },		{			text: "Recent Changes", url: "/wiki/Special:RecentChanges", isMain: true, whoIsMain: false, shortName: "rc" },		{			text: "New Files", url: "/wiki/Special:NewFiles", isMain: false, whoIsMain: "rc", shortName: "nf" },		{			text: "New Pages", url: "/wiki/Special:NewPages", isMain: false, whoIsMain: "rc", shortName: "np" },	];	if (mw.config.get('wgNamespaceIds').gadget) { window.globalNavButtons.push({			text: "Gadgets",			url: "/wiki/Special:Gadgets",			isMain: false,			whoIsMain: "p",			shortName: "g"		}); }	importArticles({		type: 'script',		articles: [			"u:dev:MediaWiki:Wikificator.js",			"u:dev:MediaWiki:MultiUpload.js",			"u:dev:MediaWiki:MassEdit/code.js",			"u:dev:MediaWiki:QuickTitle/code.js",			"u:dev:MediaWiki:SyntaxHighlight.js",       	"u:dev:MediaWiki:HistoryKey/code.js",            "u:dev:MediaWiki:FindAndReplace/code.js",			"u:dev:MediaWiki:AnchoredRollback/code.js",			"u:dev:MediaWiki:MassCategorization/code.js",		]	}); });