FANDOM


$("body.ChatWindow .Chat .message img").attr("width","100px").attr("height","100px");

if (mwCustomEditButtons) {

  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "Button-wikiasig.png",
    "speedTip": "Signature w/out timestamp",
    "tagOpen": "~~",
    "tagClose": "~",
    "sampleText": ""};
  mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "Button_redirect.png",
    "speedTip": "Redirect",
    "tagOpen": "#REDIRECT [[",
    "tagClose": "]]",
    "sampleText": "Insert text"};

} /* kill image popups - 8/1/11 */ 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); importScriptPage('SkinSwitchButton/code.js', 'dev'); //Add Buttons to Message Wall function WallTools() { if (wgCanonicalNamespace == 'Thread') { $('#WallBrickHeader').append('<a href="/wiki/'+ wgPageName +'?action=history" class="wikia-button" style="margin-left:10px; margin-right:10px; float: right;" id="History">View History</a>'); } if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') {

$('.WikiaMainContent').prepend('

<a href="/wiki/'+ wgPageName +'?action=history" class="wikia-button" style="margin-left:10px; margin-right:10px;" id="History">View History</a>

'); if (wgTitle == wgUserName) { $('.UserProfileActionButton').prepend('<a accesskey="e" href="/wiki/Message_Wall_Greeting:'+ wgUserName +'?action=edit" class="wikia-button" data-id="edit" id="talkArchiveEditButton" style="padding-left: 5px; padding-right: 8px;"><img alt="" class="sprite edit-pencil" height="16" src="data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D" width="22"> Edit Greeting </a>'); } } } addOnloadHook(WallTools); /* Change Wikia Activity button into Recent Changes */ function WikiActivity2RecentChanges() { $('a.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="blank.gif">Recent Changes</a>'); } addOnloadHook(WikiActivity2RecentChanges); // ============================================================ // displayTimer // ============================================================ var refreshDate; function addDate() {

   var UTCDate = ((new Date()).toUTCString()).replace("GMT", "(UTC)");
   $('#showdate').empty().append('<a title="Purge the server cache and update the contents of this page." href="' + wgArticlePath.replace('$1', wgPageName.replace(/ /g, '_')) + '?action=purge">' + UTCDate.substring(5) + '</a>');
   window.clearTimeout(refreshDate);
   refreshDate = window.setTimeout(addDate, 5000);

} $(document).ready(function() {

   if (skin == 'oasis')

$('

  • </li>').appendTo('#GlobalNavigation'); else $('#p-personal ul').prepend('
  • </li>'); addDate(); refreshDate = window.setTimeout(addDate, 5000); $('#displayTimer').css({'font-size': "12px"}); }); // /*** Auto-refreshing recent changes ***/ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically Refreshes the Recent Activity'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev');

    document.getElementsByName("search")[0].setAttribute("x-webkit-speech","x-webkit-speech");

  • 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.