MediaWiki:Gadget-ThumbnailPurger.js

/* Don't load directly but as gadget. Has dependencies */ if (6 === mw.config.get('wgNamespaceNumber')) { mw.commonsExtraTabs.doInjectGroup([{		target: mw.util.wikiScript + '?' + $.param({ title: 'Special:FilePath', file: mw.config.get( 'wgTitle' ), width: '800' }),		label: 'thumbPurge',		portlet: 'p-tb',		id: 't-thumbpurge'	}]); }