MediaWiki:Wikia.js

/* Add modules to the right rail */ /* Commenting Out Per BizDev Request Temporarily var rightRailModules = { config: { loadOnNamespaces: [0] },	checkRail: 0, addModules: function { var railHasLoaded = $("#WikiaRail .rail-module").length > 0; if (railHasLoaded) { clearInterval(this.checkRail); this.addCTABanner; }			},	addCTABanner: function { var	addBefore = $('#wikia-recent-activity'), bannerHTML = '  '; addBefore.before(bannerHTML); },	init: function { var thisObject = this; if (($.inArray(mw.config.get('wgNamespaceNumber'), this.config.loadOnNamespaces) > -1) && !mw.config.get('wgIsMainPage')) { this.checkRail = setInterval(function { thisObject.addModules; }, 750); }			} } $(function {	rightRailModules.init; });