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: '', url: '/wiki/Special:RecentChanges', isMain: false, whoIsMain: false, icon: ' ' },   	{			text: '', 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: '', url: '', isMain: true, whoIsMain: false, shortName: 'P', icon: '<path id="toc-small" d="M 16 0 H 2 C 1.73478 0 1.48043 0.105357 1.29289 0.292893 C 1.10536 0.48043 1 0.734784 1 1 V 17 C 1 17.2652 1.10536 17.5196 1.29289 17.7071 C 1.48043 17.8946 1.73478 18 2 18 H 16 C 16.2652 18 16.5196 17.8946 16.7071 17.7071 C 16.8946 17.5196 17 17.2652 17 17 V 1 C 17 0.734784 16.8946 0.48043 16.7071 0.292893 C 16.5196 0.105357 16.2652 0 16 0 Z M 15 16 H 3 V 6 H 11 C 11.2652 6 11.5196 5.89464 11.7071 5.70711 C 11.8946 5.51957 12 5.26522 12 5 C 12 4.73478 11.8946 4.48043 11.7071 4.29289 C 11.5196 4.10536 11.2652 4 11 4 H 3 V 2 H 15 V 16 Z M 11 8 H 7 C 6.73478 8 6.48043 8.10536 6.29289 8.29289 C 6.10536 8.48043 6 8.73478 6 9 C 6 9.26522 6.10536 9.51957 6.29289 9.70711 C 6.48043 9.89464 6.73478 10 7 10 H 11 C 11.2652 10 11.5196 9.89464 11.7071 9.70711 C 11.8946 9.51957 12 9.26522 12 9 C 12 8.73478 11.8946 8.48043 11.7071 8.29289 C 11.5196 8.10536 11.2652 8 11 8 Z M 7 12 H 11 C 11.2652 12 11.5196 12.1054 11.7071 12.2929 C 11.8946 12.4804 12 12.7348 12 13 C 12 13.2652 11.8946 13.5196 11.7071 13.7071 C 11.5196 13.8946 11.2652 14 11 14 H 7 C 6.73478 14 6.48043 13.8946 6.29289 13.7071 C 6.10536 13.5196 6 13.2652 6 13 C 6 12.7348 6.10536 12.4804 6.29289 12.2929 C 6.48043 12.1054 6.73478 12 7 12 Z"> ' },			{				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: '', 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' ]	}); });