MediaWiki:Common.js/mosbox.js

/* Any JavaScript here will be loaded for all users on every page load. */ // Twitter $(function {	if(skin == "oasis") {		$('#WikiaRail').bind('DOMNodeInserted', function(event) { //fires after lazy-loading takes place. var $sidebar = $('.ChatModule.module'); var comboString ='Tweets by @DWFWiki ' + ' !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); '; if ($sidebar.size) { //check that the target has been loaded if (!$('.twitter-timeline').size) { //check to make sure it hasn't already been added. $sidebar.append(comboString); }			}			var $sidebar = $('.activity-heading'); });