User:Green tentacle/wikia.js

// Restores normal upload form since the popup one ignores source and license policy. Adapted from http://es.pokemon.wikia.com/wiki/MediaWiki:Wikia.js. function fixUploadForm {	if (window.UploadPhotos && window.UploadPhotos.showDialog) {		$('a.wikia-button.upphotos').unbind('click',UploadPhotos.showDialog); } } addOnloadHook(fixUploadForm);