MediaWiki:Common.js:修订间差异
		
		
		
		跳转到导航
		跳转到搜索
		
| 无编辑摘要 | 无编辑摘要 | ||
| 第13行: | 第13行: | ||
|      }; |      }; | ||
| })(); | })(); | ||
| <script async src="https://www.googletagmanager.com/gtag/js?id=G-LX09CRMX6C"></script> | |||
| <script> | |||
|   window.dataLayer = window.dataLayer || []; | |||
|   function gtag(){dataLayer.push(arguments);} | |||
|   gtag('js', new Date()); | |||
|   gtag('config', 'G-LX09CRMX6C'); | |||
| </script> | |||
2024年9月8日 (日) 15:53的版本
/* 这里的任何JavaScript将为所有用户在每次页面加载时加载。 */
(function() {
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";
    document.head.appendChild(script);
    window.MathJax = {
        tex: {
            inlineMath: [['$', '$'], ['\\(', '\\)']]
        }
    };
})();
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LX09CRMX6C"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-LX09CRMX6C');
</script>