MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

mw.loader.load( '/w/index.php?title=MediaWiki:GoogleAnalytics.js&action=raw&ctype=text/javascript' );

/* Google Tag Manager */ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date.getTime,event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); }) (window,document,'script','dataLayer','GTM-K4MWGHC'); /* End Google Tag Manager */

/* Google Tag Manager (noscript) */  /* End Google Tag Manager (noscript) */

/* $(function {
 * var googleTagManagerNoScript = document.getElementById('mw-mywiki-example');
 * googleTagManagerNoScript.innerHTML = '  ';
 * }); */