Community Central
Community Central

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$('#Bullshit').html('This JavaScript stuff is cool!'); 
console.log("If the previous line 'breaks' javascript, then this line won't show in the console.")
//Disproves false statement by Wikia Staff: http://community.wikia.com/wiki/Thread:1046047

importScriptPage('', "u"+ mw.config.get("wgUserId"));

$(".wds-community-header .wds-dropdown__content, .wds-community-header .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2 .wds-dropdown-level-2__content").css("background-color", $(".wds-community-header").css("background-color"));
$(".wds-community-header .wds-dropdown__content .wds-list.wds-is-linked li > a").css("color", $(".wds-community-header .wds-community-header__sitename a").css("color"));

//$(".wds-button").removeClass("wds-button").addClass("wikia-button");

$("#ca-ve-edit").remove();

$(function() {

  if (mw.config.get("wgCityId") == 4470 && mw.util.getParamValue('action') == "edit") { 
    $(".editButtons").remove();
    alert("wrong wiki, fuckwit"); 
  }

  if (!$("table.diff").length && !$(".ns-special").length && mw.config.get("wgIsEditPage") == null && mw.util.getParamValue('action') != "edit" && mw.util.getParamValue('action') != "submit" && mw.config.get("wgPageName") != "Special:CreateBlogPage") {                                                                                                                             
    $(".WikiaArticle *:contains('Fandom')").each(function () {
//      $(this).text($(this).text().replace(/FANDOM/ig,"CANCER"));
//      $(this).text($(this).text().replace(/Fandom/ig,"CANCER"));
    });
    $(".WikiaArticle *:contains('For technical reasons')").each(function () {
      $(this).html($(this).html().replace(/For technical reasons/ig,"Due to laziness"));
    });
  }
});

$(".wds-global-navigation__logo").html("The home of \"Move on\""); /* As this is Wikia's de facto slogan, it deserves prominent placement */

$(function() { /* disabling tracking which is slowing down every page submit */
  // $("#editform").off("submit").on("submit", function() { $(window).off('.leaveconfirm'); })
});

console.log("c:global loaded 9");