User:E12Dragon/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxRC.js',		'u:dev:MediaWiki:NullEditButton/code.js',		'u:dev:MediaWiki:PurgeButton/code.js',	    'u:dev:MediaWiki:OggPlayer.js',        'u:dev:MediaWiki:MultiUpload.js',        'u:dev:MediaWiki:DisableCode/code.js',        //'u:dev:MediaWiki:UCX.js',    ] });

/* $(function {	if (mw.config.get('wgRestrictionEdit') == "sysop" || mw.config.get('wgCanonicalNamespace') == 'MediaWiki') {		$('.page-header__contribution-buttons > .wds-button-group').prepend( $(' ', {		               'class': 'protection-image hidden',		                'src': 'https://static.wikia.nocookie.net/clashofclans/images/a/a5/Protection-3.png',		                'width': '28px',		                'height': '30.33px',		                'title': 'This page is locked. Only administrators may make changes to this page.'		            }) );		$('.wds-button-group>.wds-button:not(.wds-is-secondary):not(:first-child)').css({'border-radius': '3px 0 0 3px', 'margin-left': '8px'});   }    else if (mw.config.get('wgRestrictionEdit') == "autoconfirmed") {		$('.page-header__contribution-buttons > .wds-button-group').prepend( $(' ', {		               'class': 'protection-image hidden',		                'src': 'https://static.wikia.nocookie.net/clashofclans/images/2/21/Protection-2.png',		                'width': '28px',		                'height': '30.33px',		                'title': 'This page is protected. New accounts cannot edit this page.'		            }) );		$('.wds-button-group>.wds-button:not(.wds-is-secondary):not(:first-child)').css({'border-radius': '3px 0 0 3px', 'margin-left': '8px'});   }    else if (mw.config.get('wgCanonicalNamespace') !== 'MediaWiki'){		$('.page-header__contribution-buttons > .wds-button-group').prepend( $(' ', {		               'class': 'protection-image hidden',		                'src': 'https://static.wikia.nocookie.net/clashofclans/images/9/96/Protection-1.png',		                'width': '28px',		                'height': '30.33px',		                'title': 'This page is open for anyone with a Fandom account to edit.'		            }) );		$('.wds-button-group>.wds-button:not(.wds-is-secondary):not(:first-child)').css({'border-radius': '3px 0 0 3px', 'margin-left': '8px'});   } }); /* $(".SkinIcon").click(function {    var randomnumber = Math.floor(Math.random * (2) + 1);	if (randomnumber == 1) {		new Audio('https://static.wikia.nocookie.net/clashofclans/images/c/ce/Warrior_King_Pose.ogg/revision/latest?cb=20210420003855&format=original').play;	}else {		new Audio('https://static.wikia.nocookie.net/clashofclans/images/e/e2/Champion_King_Pose.ogg/revision/latest?cb=20210225033543&format=original').play;	} });