MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
(removed script tags)
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 9: Line 9:
     'floating-chat.donateButton.text-color': '#fff'
     'floating-chat.donateButton.text-color': '#fff'
   });
   });
/* Google Analytics */
async src="https://www.googletagmanager.com/gtag/js?id=G-44N0FGBNJR"
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-44N0FGBNJR');

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'
  });