User:Kuttappan Chettan/common.js

// User:Krimpet/CH2.js importScript('User:Krimpet/CH2.js');

importScript('User:AWeenieMan/furme.js'); importScript('User:AWeenieMan/furmeScroller.js');

importScript('User:Sreejithk2000/GalleryUsage.js');

// Hide the Gallery boxes for images with no usages. $(function {	$('.mw-badge-content').each(function(i, el) { if(el.innerText == "Usage: 0") { var guThumb = $(el).closest('.guThumb').css('opacity', '.1'); }	});	if(mw.config.get('wgCategories').indexOf('Wikipedia files not suitable for Commons') > -1) {		$('#ca-fileExporter span').text('DO NOT MOVE');	}	else if (mw.config.get('wgCategories').indexOf('Wikipedia files on Wikimedia Commons for which a local copy has been requested to be kept') > -1) {		// Highlight Keep Local if the page has the template. 		$('#ca-fileExporter span').text('Export to Commons').append(' (Keep Local)');	} }); importScript('User:MGA73/nowcommonsreview.js'); // Backlink: User:MGA73/nowcommonsreview.js