Difference between revisions of "MediaWiki:Common.js"

From WikiCareer
Jump to: navigation, search
 
Line 4: Line 4:
 
/*mw.loader.load( '/w/index.php?title=MediaWiki:Circle.js&action=raw&ctype=text/javascript' );*/
 
/*mw.loader.load( '/w/index.php?title=MediaWiki:Circle.js&action=raw&ctype=text/javascript' );*/
 
mw.loader.load( '/w/index.php?title=MediaWiki:Wiki.js&action=raw&ctype=text/javascript&v=1.1' );
 
mw.loader.load( '/w/index.php?title=MediaWiki:Wiki.js&action=raw&ctype=text/javascript&v=1.1' );
<!-- Global site tag (gtag.js) - Google Analytics -->
 
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118319931-4"></script>
 
<script>
 
  window.dataLayer = window.dataLayer || [];
 
  function gtag(){dataLayer.push(arguments);}
 
  gtag('js', new Date());
 
 
  gtag('config', 'UA-118319931-4');
 
</script>
 

Latest revision as of 09:54, 16 June 2020

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

/*mw.loader.load( '/w/index.php?title=MediaWiki:Plugin-progressbar.js&action=raw&ctype=text/javascript' );*/
/*mw.loader.load( '/w/index.php?title=MediaWiki:Circle.js&action=raw&ctype=text/javascript' );*/
mw.loader.load( '/w/index.php?title=MediaWiki:Wiki.js&action=raw&ctype=text/javascript&v=1.1' );