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:MyPage', isMain: true, whoIsMain: false, shortName: 'A', icon: '<path id="user-avatar-small" d="M13.05 14.704c-2.368 1.673-5.74 1.672-8.105-.003l-.073-.053A5.921 5.921 0 0 1 9 13a5.92 5.92 0 0 1 4.127 1.648l-.077.056M9 2c3.86 0 7 3.141 7 7a6.965 6.965 0 0 1-1.449 4.257A7.895 7.895 0 0 0 9 11a7.89 7.89 0 0 0-5.551 2.257A6.961 6.961 0 0 1 2 9c0-3.859 3.14-7 7-7m9 7c0-4.963-4.038-9-9-9-4.963 0-9 4.037-9 9 0 2.455.974 4.755 2.748 6.481a8.996 8.996 0 0 0 7.122 2.477 8.996 8.996 0 0 0 5.382-2.477v-.001l.005-.004A8.968 8.968 0 0 0 18 9M9 6c.55 0 1 .449 1 1 0 .55-.45 1-1 1-.551 0-1-.45-1-1 0-.551.449-1 1-1m0 4c1.654 0 3-1.346 3-3s-1.346-3-3-3-3 1.346-3 3 1.346 3 3 3"> ' },			{				text: 'Profile', url: '/wiki/Special:MyPage', isMain: false, whoIsMain: 'A'			}, {				text: 'Message Wall', url: '/wiki/Message Wall:Clodaghelm', isMain: false, whoIsMain: 'A'			}, {				text: 'Contributions', url: '/wiki/Special:Contributions/Clodaghelm', isMain: false, whoIsMain: 'A'			}, {				text: 'Activity', url: '/wiki/Special:UserActivity', isMain: false, whoIsMain: 'A'			}, {				text: 'Preferences', url: '/wiki/Special:Preferences', isMain: false, whoIsMain: 'A'			}, {			text: '', url: '/wiki/Special:RecentChanges', isMain: false, whoIsMain: false, icon: ' ' },   	{			text: '', url: '', isMain: true, whoIsMain: false, shortName: 'L', icon: ' ' },			{				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="preformat-small" d="M2.41421356,9 L6.70710678,13.2928932 C7.09763107,13.6834175 7.09763107,14.3165825 6.70710678,14.7071068 C6.31658249,15.0976311 5.68341751,15.0976311 5.29289322,14.7071068 L0.292893219,9.70710678 C-0.0976310729,9.31658249 -0.0976310729,8.68341751 0.292893219,8.29289322 L5.29289322,3.29289322 C5.68341751,2.90236893 6.31658249,2.90236893 6.70710678,3.29289322 C7.09763107,3.68341751 7.09763107,4.31658249 6.70710678,4.70710678 L2.41421356,9 Z M11.2928932,4.70710678 C10.9023689,4.31658249 10.9023689,3.68341751 11.2928932,3.29289322 C11.6834175,2.90236893 12.3165825,2.90236893 12.7071068,3.29289322 L17.7071068,8.29289322 C18.0976311,8.68341751 18.0976311,9.31658249 17.7071068,9.70710678 L12.7071068,14.7071068 C12.3165825,15.0976311 11.6834175,15.0976311 11.2928932,14.7071068 C10.9023689,14.3165825 10.9023689,13.6834175 11.2928932,13.2928932 L15.5857864,9 L11.2928932,4.70710678 Z"> ' },			{				text: 'Atelier', url: '/wiki/Special:MyPage/Atelier', 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: 'https://community.fandom.com/wiki/Special:MyPage/global.js', isMain: false, whoIsMain: 'P'			}, {				text: 'Global CSS', url: 'https://community.fandom.com/wiki/Special:MyPage/global.css', 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.js', isMain: false, whoIsMain: 'MW' },			{				text: 'FandomDesktop CSS', url: '/wiki/MediaWiki:Fandomdesktop.css', 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: 'Fairuse' };

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

importArticles({	type: 'script',	articles: [			/* maintenance */			'u:dev:MediaWiki:FastDelete/code.js',			'u:dev:MediaWiki:FastFileDelete.js',			'u:dev:MediaWiki:FileUsageAuto-update/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:PageRenameAuto-update/code.js',			'u:dev:MediaWiki:UserUnusedFiles/code.js',			/* enchancements */			'u:dev:MediaWiki:AnchoredRollback/code.js',			'u:dev:MediaWiki:Bang.js',			'u:dev:MediaWiki:CorrectFileHeadings.js',			'u:dev:MediaWiki:FixWantedFiles/code.js',			'u:dev:MediaWiki:GlobalNavButtons.js',			'u:dev:MediaWiki:LastEdited/code.js',			/* convenience */			'u:dev:MediaWiki:MultiUpload.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:StickyRailToggler.js', 'u:dev:MediaWiki:ThemeToggler.js' ]	}); });