MediaWiki talk:Common.js

Fixing the "add photo" problem:

$(".upphotos").click(function {    window.location = '/wiki/Special:Upload';    return false;  });

Or

$(function { // Restores the Special:Upload functionality. This does not block core functionality	if (window.UploadPhotos && window.UploadPhotos.showDialog) {		$('a.wikia-button.upphotos').unbind('click',UploadPhotos.showDialog);	} });