MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
     'floating-chat.donateButton.text-color': '#fff'
     'floating-chat.donateButton.text-color': '#fff'
   });
   });
<script 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');
</script>

Latest revision as of 20:03, 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'
  });