User:Clodaghelm/global.js

(function {

/* script settings */ window.fdButtons = [ {			summary: 'Housekeeping', label: 'H'		}, {			summary: 'Vandalism', label: 'V'		}, {			summary: 'Spam', label: 'S'		}, {			summary: 'ToU', label: 'T'		} ];	window.FastDeleteNoConfirm = true; window.globalNavButtons = [ {			text: 'Recent Changes', url: '/wiki/Special:RecentChanges', isMain: false, whoIsMain: false, icon: ' ' },   	{			text: 'Logs', url: '', isMain: true, whoIsMain: false, shortName: 'L', icon: ' ', hasBackground: false },			{				text: 'Log/block', url: '/wiki/Special:Log/block', isMain: false, whoIsMain: 'L'			}, {				text: 'Log/move', url: '/wiki/Special:Log/move', isMain: false, whoIsMain: 'L'			}, {				text: 'Log/delete', url: '/wiki/Special:Log/delete', isMain: false, whoIsMain: 'L'			}, {				text: 'Log/upload', url: '/wiki/Special:Log/upload', isMain: false, whoIsMain: 'L'			}, {				text: 'Log/protection', url: '/wiki/Special:Log/protection', isMain: false, whoIsMain: 'L'			}, {			text: 'Personal', url: '', isMain: true, whoIsMain: false, shortName: 'P', icon: ' ' },			{				text: 'Sandbox', url: '/wiki/Special:MyPage/Sandbox', isMain: false, whoIsMain: 'P'			}, {				text: 'Local JavaScript', url: '/wiki/Special:MyPage/common.js', isMain: false, whoIsMain: 'P'			}, {				text: 'Local CSS', url: '/wiki/Special:MyPage/common.css', isMain: false, whoIsMain: 'P'			}, {				text: 'Global JavaScript', url: '/wiki/Special:MyPage/global.js', isMain: false, whoIsMain: 'P'			}, {				text: 'Global CSS', url: '/wiki/Special:MyPage/global.js', isMain: false, whoIsMain: 'P'			}, {			text: 'MediaWiki', url: '/wiki/Special:AllPages/MediaWiki:', isMain: true, whoIsMain: false, shortName: 'MW', icon: ' ' },			{				text: 'Common JavaScript', url: '/wiki/MediaWiki:Common.js', isMain: false, whoIsMain: 'MW' },			{				text: 'Common CSS', url: '/wiki/MediaWiki:Common.css', isMain: false, whoIsMain: 'MW' },						{				text: 'Oasis JavaScript', url: '/wiki/MediaWiki:Wikia.js', isMain: false, whoIsMain: 'MW' },			{				text: 'Oasis CSS', url: '/wiki/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'MW' },			{				text: 'FandomDesktop JavaScript', url: '/wiki/MediaWiki:Fandomdesktop.css', isMain: false, whoIsMain: 'MW' },			{				text: 'FandomDesktop CSS', url: '/wiki/MediaWiki:Fandomdesktop.js', isMain: false, whoIsMain: 'MW' },			{				text: 'ImportJS', url: '/wiki/MediaWiki:ImportJS', isMain: false, whoIsMain: 'MW' },			{				text: 'Wiki Navigation', url: '/wiki/MediaWiki:Wiki-navigation', isMain: false, whoIsMain: 'MW' },		{			text: 'MediaWiki', url: '/wiki/Special:AllPages/MediaWiki:', isMain: true, whoIsMain: false, shortName: 'MW', icon: ' ' },			{				text: 'Common JavaScript', url: '/wiki/MediaWiki:Common.js', isMain: false, whoIsMain: 'MW' },			{				text: 'Common CSS', url: '/wiki/MediaWiki:Common.css', isMain: false, whoIsMain: 'MW' },						{				text: 'Oasis JavaScript', url: '/wiki/MediaWiki:Wikia.js', isMain: false, whoIsMain: 'MW' },			{				text: 'Oasis CSS', url: '/wiki/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'MW' },			{				text: 'FandomDesktop JavaScript', url: '/wiki/MediaWiki:Fandomdesktop.css', isMain: false, whoIsMain: 'MW' },			{				text: 'FandomDesktop CSS', url: '/wiki/MediaWiki:Fandomdesktop.js', isMain: false, whoIsMain: 'MW' },			{				text: 'ImportJS', url: '/wiki/MediaWiki:ImportJS', isMain: false, whoIsMain: 'MW' },			{				text: 'Wiki Navigation', url: '/wiki/MediaWiki:Wiki-navigation', isMain: false, whoIsMain: 'MW' }	];	window.lastEdited =	{ avatar: false, size: false, diffModal: false, comment: false, newpage: false, mainpage: false, namespaces: { exclude: [ -2,				-1,		/* special       */ 1,		/* mainspace     */ 2,		/* talk          */ 3,		/* user          */ 4,		/* user talk     */ 5,		/* project       */ 6,		/* project talk  */ 7,		/* file          */ 8,		/* file talk     */ 9,		/* mediaWiki     */ 10,		/* mediaWiki talk */ 11,		/* template      */ 12,		/* template talk */ 13,				14,		/* category      */ 15,		/* category talk */ 110,				111,				500,				501,				502,				503,				828,				829,				1200,				1201,				1202,				2000,				2001			]		}	};	window.MultiUploadoption = { defaultlicense: 'CC-BY-SA' };

/* import JS scripts to be used on all wikis */

importArticles({	type: 'script',	articles: [			'u:dev:MediaWiki:AnchoredRollback/code.js',			'u:dev:MediaWiki:Bang.js',			'u:dev:MediaWiki:CorrectFileHeadings.js',			'u:dev:MediaWiki:FastDelete/code.js',			'u:dev:MediaWiki:FastFileDelete.js',   		'u:dev:MediaWiki:FileUsageAuto-update/code.js',			'u:dev:MediaWiki:FixWantedFiles/code.js',			'u:dev:MediaWiki:GlobalNavButtons.js',			'u:dev:MediaWiki:LastEdited/code.js',			'u:dev:MediaWiki:ListFiles/code.js',			'u:dev:MediaWiki:MassCategorization/code.js',			'u:dev:MediaWiki:MassEdit/code.js',			'u:dev:MediaWiki:MassNullEdit/code.js',			'u:dev:MediaWiki:MassPatrol/code.js',			'u:dev:MediaWiki:MassRename/code.js',			'u:dev:MediaWiki:MultipleFileDelete/code.js',			'u:dev:MediaWiki:MultiUpload.js',			'u:dev:MediaWiki:QuickDiff/code.js',			'u:dev:MediaWiki:PageRenameAuto-update/code.js',			'u:dev:MediaWiki:PatrolRC/code.js',			'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:SkinSwitchFD.js', 'u:dev:MediaWiki:StickyRailToggler.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:UserUnusedFiles/code.js' ]	}); });