MediaWiki:Wikia.js

/* Disable Image Upload Pop-Ups */ $(document).ready(function {	$('a.wikia-button.upphotos').unbind('click',UploadPhotos.showDialog); });

function PlaceholderLink { $('.wikiaPlaceholder a').attr('href', '/wiki/Special:Upload').unbind('click'); } $(PlaceholderLink);

function moveArticletypeDiv { var fooel = document.getElementById('ma-article-type'); if (fooel!=null) { var artel = document.getElementById('article'); var wphel = document.getElementById('WikiaSearch'); var titel = document.getElementById('top'); fooel = fooel.parentNode.removeChild(fooel); if (artel!=null) { artel.parentNode.insertBefore(fooel,artel); } else if (wphel!=null) { wphel.parentNode.insertBefore(fooel,wphel); } else { //fall back to a position before H1 - useful for monobook skin titel.parentNode.insertBefore(fooel,titel); } } }