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:AjaxPoll.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'});   } });