<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pleasurable-learning.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pleasurable-learning.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://pleasurable-learning.com/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-04-22T18:36:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://pleasurable-learning.com/index.php?title=MediaWiki:Common.js&amp;diff=1148&amp;oldid=prev</id>
		<title>Guillem: Created page with &quot;/* Any JavaScript here will be loaded for all users on every page load. */ /* Ko-fi Widget Integration */ mw.loader.using( &#039;mediawiki.util&#039;, function () {     $( document ).ready( function () {         // Create the script element to load the Ko-fi library         var kofiScript = document.createElement(&#039;script&#039;);         kofiScript.src = &#039;https://storage.ko-fi.com/cdn/scripts/overlay-widget.js&#039;;         kofiScript.async = true;                  // When the script loads,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pleasurable-learning.com/index.php?title=MediaWiki:Common.js&amp;diff=1148&amp;oldid=prev"/>
		<updated>2025-12-09T15:51:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Any JavaScript here will be loaded for all users on every page load.: &lt;/span&gt; &lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Ko-fi Widget Integration: &lt;/span&gt; mw.loader.using( &amp;#039;mediawiki.util&amp;#039;, function () {     $( document ).ready( function () {         // Create the script element to load the Ko-fi library         var kofiScript = document.createElement(&amp;#039;script&amp;#039;);         kofiScript.src = &amp;#039;https://storage.ko-fi.com/cdn/scripts/overlay-widget.js&amp;#039;;         kofiScript.async = true;                  // When the script loads,...&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
/* Ko-fi Widget Integration */&lt;br /&gt;
mw.loader.using( &amp;#039;mediawiki.util&amp;#039;, function () {&lt;br /&gt;
    $( document ).ready( function () {&lt;br /&gt;
        // Create the script element to load the Ko-fi library&lt;br /&gt;
        var kofiScript = document.createElement(&amp;#039;script&amp;#039;);&lt;br /&gt;
        kofiScript.src = &amp;#039;https://storage.ko-fi.com/cdn/scripts/overlay-widget.js&amp;#039;;&lt;br /&gt;
        kofiScript.async = true;&lt;br /&gt;
        &lt;br /&gt;
        // When the script loads, initialize the widget&lt;br /&gt;
        kofiScript.onload = function() {&lt;br /&gt;
            if (typeof kofiWidgetOverlay !== &amp;#039;undefined&amp;#039;) {&lt;br /&gt;
                kofiWidgetOverlay.draw(&amp;#039;guillempalausalva&amp;#039;, {&lt;br /&gt;
                    &amp;#039;type&amp;#039;: &amp;#039;floating-chat&amp;#039;,&lt;br /&gt;
                    &amp;#039;floating-chat.donateButton.text&amp;#039;: &amp;#039;Support me&amp;#039;,&lt;br /&gt;
                    &amp;#039;floating-chat.donateButton.background-color&amp;#039;: &amp;#039;#f45d22&amp;#039;,&lt;br /&gt;
                    &amp;#039;floating-chat.donateButton.text-color&amp;#039;: &amp;#039;#fff&amp;#039;&lt;br /&gt;
                });&lt;br /&gt;
            }&lt;br /&gt;
        };&lt;br /&gt;
        &lt;br /&gt;
        document.head.appendChild(kofiScript);&lt;br /&gt;
    } );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Guillem</name></author>
	</entry>
</feed>