MediaWiki:Wikia.js

/* Portable infoboxes colors */ $(function {   var infobox = $('.portable-infobox');    if (infobox.length) {        var color = ,        classNames = infobox.attr('class').split(' ');        for (var i = 0; i < classNames.length; i++) {            if (classNames[i].indexOf('pi-theme-_') !== -1) {                color = classNames[i].replace('pi-theme-_', );                break;            }        }        if (color) {            infobox.css('border', '4px solid #' + color);        }    } });

window.rwaOptions = { limit : 50, namespaces : [ 0, 1, 2, 3, 4, 5, 6, 7, 110, 111, 500, 501, 828, 829 ], autoInit : true, themeName : "main", showBotEdits : false, loadModule : false, customRendering : { }, headerLink : false, refresh : false, refreshDelay : 5 * 60 * 1000, timeout : 10 * 1000 };