MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 11: Line 11:




<script async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
 
/* Google Analytics */
 
 
async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
<script>
<script>
   window.dataLayer = window.dataLayer || [];
   window.dataLayer = window.dataLayer || [];
Line 18: Line 22:


   gtag('config', 'G-44N0FGBNJR');
   gtag('config', 'G-44N0FGBNJR');
</script>

Revision as of 20:00, 15 December 2024

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

src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>

  kofiWidgetOverlay.draw('infrawiki', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Support me',
    'floating-chat.donateButton.background-color': '#d9534f',
    'floating-chat.donateButton.text-color': '#fff'
  });



/* Google Analytics */


async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-44N0FGBNJR');