FANDOM


 //chat hacks
 importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript');
 //END chat hacks
 
 // Change "A Wikia contributor" to IP address 
 importScriptPage('MediaWiki:Common.js/ipAnon.js', 'terraria');
 // END Change "A Wikia contributor" to IP address 
 
 // Refresh Ajax
 importScriptPage('MediaWiki:Common.js/ajaxRefresh.js', 'admintools');
 //END Refresh Ajax
 
 // Add CANCEL button to new RTE
 importScriptPage('MediaWiki:Wikia.js/cancelButton.js', 'admintools');
 // END Add CANCEL button to new RTE
 
 // Adds extra nav options //
 importScriptPage('MediaWiki:Wikia.js/accountNavigation.js', 'admintools');
 // END Adds extra nav options //
 
 // Adds Purge Button
 importScriptPage('PurgeButton/code.js', 'dev');
 // END Adds Purge Button
 
 // Mass Rollback
 importScriptPage('MediaWiki:Common.js/massRollback.js', 'admintools');
 // END Mass Rollback
 
 // Adds collapsible button for header //
if (wgCanonicalNamespace == 'User' || wgCanonicalNamespace == 'User_talk') {
$('<span class="button" onclick="hideBar()">Hide</span>').insertAfter('.UserProfileActionButton');
$('<span class="button" onclick="showBar()">Show</span>').insertAfter('.UserProfileActionButton');
}
 
function hideBar() {
$('#UserProfileMasthead').hide();
}
 
function showBar() {
$('#UserProfileMasthead').show();
}
// END Adds collapsible button for header //
 
 
// kill image popups //
window.wgEnableImageLightboxExt = false;
function changeimagelinks() {
	$('#WikiaArticle, .LatestPhotosModule, #article-comments').unbind('click.lightbox');
 
	var a = document.getElementsByTagName('a');
	for(var t = 0; t < a.length; ++t) {
		var a2 = a[t];
		var img = a2.getElementsByTagName('img');
		if(img[0] != null) {
			if (a2.href.indexOf('images.wikia.com') != -1) {
				var link = wgServer + '/wiki/File:' + a2.href.substring(a2.href.lastIndexOf('/') + 1);
				a2.setAttribute('href',link);
			}
		}
	}
}
addOnloadHook(changeimagelinks);
// END kill image popups //

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.