MediaWiki:UploadForm.js/Images.js

function ufExecute { $(".wikia-button.upphotos").click(function {        window.location.href = "/wiki/Special:Upload";    }); }

document.addEventListener("DOMContentLoaded", ufExecute, false);