User:GasmaskMerc Bot/wikia.js

if (mediaWiki.config.get("wgPageName") === "Special:UnusedFiles") { $(function {		var str = "";		$('.gallerytext > a').each(function  { str += decodeURIComponent(this.href.substring(this.href.indexOf("File"))) + "\n"; });		var $textarea = $(' ');		$textarea.val(str);		$('.gallery').before($textarea);	}); }