<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cgs.wikihoster.xyz/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://cgs.wikihoster.xyz/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://cgs.wikihoster.xyz/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-04-12T14:06:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://cgs.wikihoster.xyz/index.php?title=MediaWiki:Common.js&amp;diff=344&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;mw.loader.using([&#039;mediawiki.util&#039;], function () {   function toggleContentFade() {     document.body.classList.toggle(&#039;mw-content-hidden&#039;);   }    function attachHandlers() {     document.querySelectorAll(&#039;.button-hidecontent&#039;).forEach(btn =&gt; {       btn.addEventListener(&#039;click&#039;, toggleContentFade);     });   }    // Run now + after page updates (VisualEditor, etc.)   attachHandlers();   mw.hook(&#039;wikipage.content&#039;).add(attachHandlers); });&quot;</title>
		<link rel="alternate" type="text/html" href="https://cgs.wikihoster.xyz/index.php?title=MediaWiki:Common.js&amp;diff=344&amp;oldid=prev"/>
		<updated>2026-01-06T03:52:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;mw.loader.using([&amp;#039;mediawiki.util&amp;#039;], function () {   function toggleContentFade() {     document.body.classList.toggle(&amp;#039;mw-content-hidden&amp;#039;);   }    function attachHandlers() {     document.querySelectorAll(&amp;#039;.button-hidecontent&amp;#039;).forEach(btn =&amp;gt; {       btn.addEventListener(&amp;#039;click&amp;#039;, toggleContentFade);     });   }    // Run now + after page updates (VisualEditor, etc.)   attachHandlers();   mw.hook(&amp;#039;wikipage.content&amp;#039;).add(attachHandlers); });&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;mw.loader.using([&amp;#039;mediawiki.util&amp;#039;], function () {&lt;br /&gt;
  function toggleContentFade() {&lt;br /&gt;
    document.body.classList.toggle(&amp;#039;mw-content-hidden&amp;#039;);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  function attachHandlers() {&lt;br /&gt;
    document.querySelectorAll(&amp;#039;.button-hidecontent&amp;#039;).forEach(btn =&amp;gt; {&lt;br /&gt;
      btn.addEventListener(&amp;#039;click&amp;#039;, toggleContentFade);&lt;br /&gt;
    });&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  // Run now + after page updates (VisualEditor, etc.)&lt;br /&gt;
  attachHandlers();&lt;br /&gt;
  mw.hook(&amp;#039;wikipage.content&amp;#039;).add(attachHandlers);&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>