<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-autocollapse.js</id>
	<title>MediaWiki:Gadget-autocollapse.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-autocollapse.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-autocollapse.js&amp;action=history"/>
	<updated>2026-06-04T08:36:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-autocollapse.js&amp;diff=9647&amp;oldid=prev</id>
		<title>MigrationBot: Replace deprecated mw.Uri usage in autocollapse gadget</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-autocollapse.js&amp;diff=9647&amp;oldid=prev"/>
		<updated>2026-05-04T15:24:23Z</updated>

		<summary type="html">&lt;p&gt;Replace deprecated mw.Uri usage in autocollapse gadget&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:24, 4 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if (&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		!$(&amp;#039;.navbox&amp;#039;).length ||&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		!$(&amp;#039;.navbox&amp;#039;).length ||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Uri(&lt;/del&gt;).&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;query&lt;/del&gt;.veaction &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;!= undefined&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new URL( window&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;location.href &lt;/ins&gt;).&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;searchParams&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;has( &quot;&lt;/ins&gt;veaction&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	) return;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	) return;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	mw.hook(&amp;#039;wikipage.collapsibleContent&amp;#039;).add(init);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	mw.hook(&amp;#039;wikipage.collapsibleContent&amp;#039;).add(init);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_gem-wiki:diff:1.41:old-3788:rev-9647:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>MigrationBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-autocollapse.js&amp;diff=3788&amp;oldid=prev</id>
		<title>Banri: Created page with &quot;/**  * Automatically collapsed navboxes under certain conditions  */ (function($, mw){ 	if ( 		!$(&#039;.navbox&#039;).length || 		mw.Uri().query.veaction != undefined 	) return; 	mw.ho...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=MediaWiki:Gadget-autocollapse.js&amp;diff=3788&amp;oldid=prev"/>
		<updated>2020-05-31T16:58:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;span class=&quot;autocomment&quot;&gt;*  * Automatically collapsed navboxes under certain conditions: &lt;/span&gt; (function($, mw){ 	if ( 		!$(&amp;#039;.navbox&amp;#039;).length || 		mw.Uri().query.veaction != undefined 	) return; 	mw.ho...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
 * Automatically collapsed navboxes under certain conditions&lt;br /&gt;
 */&lt;br /&gt;
(function($, mw){&lt;br /&gt;
	if (&lt;br /&gt;
		!$(&amp;#039;.navbox&amp;#039;).length ||&lt;br /&gt;
		mw.Uri().query.veaction != undefined&lt;br /&gt;
	) return;&lt;br /&gt;
	mw.hook(&amp;#039;wikipage.collapsibleContent&amp;#039;).add(init);&lt;br /&gt;
	function init() {&lt;br /&gt;
		var $navboxes = $(&amp;#039;.navbox&amp;#039;),&lt;br /&gt;
			// maximum number of navboxes before they all get collapsed&lt;br /&gt;
			maxShow = 1,&lt;br /&gt;
			// maximum allowable height of navbox before it gets collapsed&lt;br /&gt;
			maxHeight = 300;&lt;br /&gt;
		&lt;br /&gt;
		function collapseNavbox(i,box) {&lt;br /&gt;
			var $box = $(box);&lt;br /&gt;
			if ($box.hasClass(&amp;#039;navbox-uncollapsed&amp;#039;)) return;&lt;br /&gt;
			$box.data(&amp;#039;mw-collapsible&amp;#039;).collapse();&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		if ($navboxes.length &amp;gt; maxShow) {&lt;br /&gt;
			$navboxes.each(collapseNavbox);&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		$navboxes.each(function(i,e){&lt;br /&gt;
			if ($(e).height() &amp;gt; maxHeight) {&lt;br /&gt;
				collapseNavbox(i,e);&lt;br /&gt;
			}&lt;br /&gt;
		});&lt;br /&gt;
	}&lt;br /&gt;
	//$(init);&lt;br /&gt;
	&lt;br /&gt;
})(jQuery, mediaWiki);&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>