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.
// AjaxRC 
window.ajaxSpecialPages = ["Newwikis", "Recentchanges", "Log", "Images"];
window.ajaxRefresh = 1000;

//Page Creator options
window.pageCreatorConfig = {
    namespaces: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 110, 111, 828, 829, 1202]
};

// Tweaks
$(function () {
    $('<div class="wds-global-navigation__links"><a class="wds-global-navigation__link" href="http://webarebears.wikia.com/" target="_blank"><span>WBB</span></a></div>').insertBefore('.wds-global-navigation__search');
    $('<div class="wds-global-navigation__links"><a class="wds-global-navigation__link" href="/wiki/Special:RecentChanges?hidebots=0" target="_blank"><span>RecentChanges</span></a></div>').insertBefore('.wds-global-navigation__search');
    $('<div class="wds-global-navigation__links"><a class="wds-global-navigation__link" href="/wiki/Special:ListUsers/sysop" target="_blank"><span>Admins</span></a></div>').insertBefore('.wds-global-navigation__search');
    $('<div class="wds-global-navigation__links"><a class="wds-global-navigation__link" href="http://c.wikia.com/wiki/Special:MyPage/global.js" target="_blank"><span>Global.js</span></a></div>').insertBefore('.wds-global-navigation__search');
});

importArticles({
    type: "script",
    articles: [
        'u:dev:MediaWiki:AjaxRC/code.js',
        'u:dev:MediaWiki:AjaxUndo/code.js',
        'u:dev:MediaWiki:AutoEditDropdown/code.js',
        'u:dev:MediaWiki:AnchoredRollback/code.js',
        'u:dev:MediaWiki:CacheCheck/code.js',
        'u:dev:MediaWiki:ContribsLink/code.js',
        'u:dev:MediaWiki:DisplayTimer/code.js',
        'u:dev:MediaWiki:LastEdited/code.js',
        'u:dev:MediaWiki:Linksweeper/code.js',
        'u:dev:MediaWiki:MastheadGender/code.js',
        'u:dev:MediaWiki:PortableCSSPad/code.js',
        'u:dev:MediaWiki:PageCreator/code2.js',
        'u:dev:MediaWiki:RevealAnonIP/code.js',
        'u:dev:MediaWiki:Rollback/code.js',
        'u:dev:MediaWiki:SearchSuggest/code.js',
        'u:dev:MediaWiki:UnhideUserMasthead/code.js',
        'u:dev:MediaWiki:View_Source/code.js',
        'u:dev:MediaWiki:ViewRemoved/code.js',
        'u:starmanw:MediaWiki:QuickLogs/code.js'
    ]
});

//Remove all MPC
$(".youtubeplayer").remove();

$('.mw-userlink').each(function () {
    if (!$(this).attr('href').match(".*\:.*\/.*")) {
        var linkStr = $(this).attr('href');
        $(this).attr('href', linkStr.replace(/.*\:(.*)/g, "/wiki/Special:Contributions/$1"));
    }
});