MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */


<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
 
   kofiWidgetOverlay.draw('infrawiki', {
   kofiWidgetOverlay.draw('infrawiki', {
     'type': 'floating-chat',
     'type': 'floating-chat',
Line 9: Line 9:
     'floating-chat.donateButton.text-color': '#fff'
     'floating-chat.donateButton.text-color': '#fff'
   });
   });
</script>

Latest revision as of 16:41, 24 February 2023

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