memory alpha
MediaWiki documentation ()

This is the custom JavaScript for Memory Alpha's desktop skin (FandomDesktop). Currently, Memory Alpha's mobile skin (FandomMobile) does not allow custom JavaScript.

Before introducing major changes to this page, consider initiating a discussion on its talk page or Ten Forward.

Please note that changes here go live immediately. Errors you make here can disrupt the entirety of Memory Alpha, so make sure you know what you are doing. Testing can be done on your personal JS page.
After saving, you may have to bypass your browser's cache to see the changes.
// Configuration for [[MediaWiki:ImportJS]]
window.AutoCreateUserPagesConfig = {
	content: {
		2: '{{subst:' + 'newuser}}', // {{newuser}}
		3: '{{subst:' + 'welcome}}', // {{welcome}}
	},
	summary: 'Script: Creating user+talkpage on first edit',
	notify: '<a href="/wiki/User_talk:$2">Welcome to Memory Alpha!</a>'
};

window.globalFileUsageConfig = {
	'show_subdomain_if_different': true,
	'lang': [
		'ar',
		'bg',
		'cs',
		'de',
		'eo',
		'es',
		'fr',
		'it',
		'ja',
		'nl',
		'pl',
		'pt',
		'ru',
		'sr',
		'sv',
		'th',
		'uk',
		'zh',
		'en:mu-memory-alpha',
		'en:ma-test',
	],
};

// {{JavaScript category}}