User:Joritochip/global.js

console.log("Start global js"); importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DupImageList/code.js',        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxRC.js',        'u:dev:MediaWiki:SmoothGlobalNav/code.js',        'u:dev:MediaWiki:UTCClock/code.js',        'u:dev:MediaWiki:Wikimarks/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:ThemeToggler.js',    ] }); importScriptPage('User:Joritochip/common.js', 'joritochip');

/* Simplify Fan Feed */ if ($('#mixed-content-footer').length) { var interval; interval = setInterval(function {		if ($('#mixed-content-footer .mcf-card-article__link').length) {			clearInterval(interval);			$('#mixed-content-footer .mcf-column > *:not(.mcf-card-article__link), #mixed-content-footer .mcf-card-article__subtitle').remove;           $('#mixed-content-footer .mcf-card-article[data-li-type!="wiki"]').parent.remove;			var mosaic = $('#mixed-content-footer .mcf-mosaic');			var cards = $('#mixed-content-footer .mcf-card-article__link');			cards.slice(0, 8).css({width: '12%'}).appendTo(mosaic);			$('#mixed-content-footer .mcf-card-article').css({height: 'auto', aspectRatio: '1 / 1'});			$('#mixed-content-footer .mcf-column').remove;			$('#mixed-content-footer .mcf-header').text('Other Articles');			$('#mixed-content-footer .mcf-card-article__title').css({fontSize: '14px', padding: '0 10px', overflow: 'hidden'});		}	}, 100); } console.log("End global js");