<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dmw-wiki.biffify.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadgets%2FvectorScripts%2Fmain.js</id>
	<title>MediaWiki:Gadgets/vectorScripts/main.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dmw-wiki.biffify.com/wiki/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadgets%2FvectorScripts%2Fmain.js"/>
	<link rel="alternate" type="text/html" href="https://dmw-wiki.biffify.com/wiki/index.php?title=MediaWiki:Gadgets/vectorScripts/main.js&amp;action=history"/>
	<updated>2026-11-05T05:00:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://dmw-wiki.biffify.com/wiki/index.php?title=MediaWiki:Gadgets/vectorScripts/main.js&amp;diff=27541&amp;oldid=prev</id>
		<title>imported&gt;Westgrass: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://dmw-wiki.biffify.com/wiki/index.php?title=MediaWiki:Gadgets/vectorScripts/main.js&amp;diff=27541&amp;oldid=prev"/>
		<updated>2025-11-01T06:43:52Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:43, 1 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Westgrass</name></author>
	</entry>
	<entry>
		<id>https://dmw-wiki.biffify.com/wiki/index.php?title=MediaWiki:Gadgets/vectorScripts/main.js&amp;diff=27540&amp;oldid=prev</id>
		<title>&gt;Westgrass: also toggle .nav--expanded on #mw-panel whenever mobile nav toggle button is toggled. This makes mobile sidebar menu styling easier.</title>
		<link rel="alternate" type="text/html" href="https://dmw-wiki.biffify.com/wiki/index.php?title=MediaWiki:Gadgets/vectorScripts/main.js&amp;diff=27540&amp;oldid=prev"/>
		<updated>2025-05-25T08:14:28Z</updated>

		<summary type="html">&lt;p&gt;also toggle .nav--expanded on #mw-panel whenever mobile nav toggle button is toggled. This makes mobile sidebar menu styling easier.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*** Mobile navigation toggle button ***/&lt;br /&gt;
( function () {&lt;br /&gt;
	const BUTTON_CLASS = &amp;#039;mobile-nav-toggle&amp;#039;;&lt;br /&gt;
	const EXPANDED_CLASS = &amp;#039;nav--expanded&amp;#039;;&lt;br /&gt;
	if (document.querySelector(&amp;#039;button.&amp;#039; + BUTTON_CLASS)){return;} // early return to avoid double button if this runs twice&lt;br /&gt;
	&lt;br /&gt;
	let mobileSidebarButton = document.createElement( &amp;#039;button&amp;#039; );&lt;br /&gt;
	let sidebar = document.getElementById( &amp;#039;mw-panel&amp;#039; );&lt;br /&gt;
	mobileSidebarButton.className = BUTTON_CLASS;&lt;br /&gt;
	mobileSidebarButton.addEventListener( &amp;#039;click&amp;#039;, function () {&lt;br /&gt;
		mobileSidebarButton.classList.toggle( EXPANDED_CLASS );&lt;br /&gt;
		sidebar.classList.toggle( EXPANDED_CLASS );&lt;br /&gt;
	} );&lt;br /&gt;
	sidebar.prepend( mobileSidebarButton );&lt;br /&gt;
	document.body.classList.add( &amp;#039;has-vector-mobile-menu&amp;#039; );&lt;br /&gt;
} )();&lt;br /&gt;
/*** End mobile navigation toggle button ***/&lt;br /&gt;
&lt;br /&gt;
/*** #mw-head collapsing fix ***/&lt;br /&gt;
/*** IMPORTANT: Do not copy this code if your wiki is not updated to default loadout 2.0 (May 22, 2025) or later, or your navigation tabs will break ***/&lt;br /&gt;
mw.loader.using(&amp;#039;skins.vector.legacy.js&amp;#039;, function() {&lt;br /&gt;
	$.collapsibleTabs.calculateTabDistance = function(){&lt;br /&gt;
		return parseInt(window.getComputedStyle(document.getElementById( &amp;#039;right-navigation&amp;#039; ), &amp;#039;::before&amp;#039;).width ) - 1;&lt;br /&gt;
	}&lt;br /&gt;
});&lt;br /&gt;
/*** END #mw-head collapsing fix ***/&lt;/div&gt;</summary>
		<author><name>&gt;Westgrass</name></author>
	</entry>
</feed>