MediaWiki:Common.js: Difference between revisions

no edit summary
(Template:Notes toggle)
No edit summary
Line 21: Line 21:
   }
   }
}
}
// OWA tracking code
//<![CDATA[
var owa_baseUrl = 'https://www.wittgensteinproject.org/owa/';
var owa_cmds = owa_cmds || [];
owa_cmds.push(['setSiteId', '26821675bb7b535a0bb6a67e90c20f0a']);
owa_cmds.push(['trackPageView']);
owa_cmds.push(['trackClicks']);
(function() {
    var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true;
    owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl );
    _owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
    var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s);
}());
//]]>