User:BoxxyBot/wikia.js

if (mediaWiki.config.get("wgPageName") === "Special:UnusedVideos") { $(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);	}); }