
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://psaltiki.site.eterhost.ru/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AHidesidebar.js</id>
	<title>MediaWiki:Hidesidebar.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://psaltiki.site.eterhost.ru/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AHidesidebar.js"/>
	<link rel="alternate" type="text/html" href="https://psaltiki.site.eterhost.ru/index.php?title=MediaWiki:Hidesidebar.js&amp;action=history"/>
	<updated>2026-10-18T14:30:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://psaltiki.site.eterhost.ru/index.php?title=MediaWiki:Hidesidebar.js&amp;diff=8918&amp;oldid=prev</id>
		<title>Maintenance script: Vector 1.46: блок вкладок называется p-associated-pages (был p-namespaces)</title>
		<link rel="alternate" type="text/html" href="https://psaltiki.site.eterhost.ru/index.php?title=MediaWiki:Hidesidebar.js&amp;diff=8918&amp;oldid=prev"/>
		<updated>2026-10-17T19:43:59Z</updated>

		<summary type="html">&lt;p&gt;Vector 1.46: блок вкладок называется p-associated-pages (был p-namespaces)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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-GB&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 19:43, 17 October 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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&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;/* Добавляет в верхнюю панель кнопку, с помощью которой можно скрыть/показать левое навигационное меню и растянуть основной текст на его место. Полезно на узких экранах и когда окно браузера достаточно узкое. Основан на https://en.wikipedia.org/wiki/User:PleaseStand/Hide_Vector_sidebar. */&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;/* Добавляет в верхнюю панель кнопку, с помощью которой можно скрыть/показать левое навигационное меню и растянуть основной текст на его место. Полезно на узких экранах и когда окно браузера достаточно узкое. Основан на https://en.wikipedia.org/wiki/User:PleaseStand/Hide_Vector_sidebar. */&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;br&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;br&gt;&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-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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;			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&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;			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&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;		}&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;		}&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;		sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;namespaces&lt;/del&gt;&#039;, &#039;#&#039;, &#039;&amp;gt;&#039;, &#039;ca-sidebar&#039;, &#039;Показать панель навигации&#039;, &#039;a&#039; );&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;		sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;associated-pages&lt;/ins&gt;&#039;, &#039;#&#039;, &#039;&amp;gt;&#039;, &#039;ca-sidebar&#039;, &#039;Показать панель навигации&#039;, &#039;a&#039; );&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;		$( sidebarSwitch ).click( function ( e ) {&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;		$( sidebarSwitch ).click( function ( e ) {&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;			e.preventDefault();&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;			e.preventDefault();&lt;/div&gt;&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-l28&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&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;			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&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;			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&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;		}&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;		}&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;		sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;namespaces&lt;/del&gt;&#039;, &#039;#&#039;, &#039;&amp;lt;&#039;, &#039;ca-sidebar&#039;, &#039;Скрыть панель навигации&#039;, &#039;a&#039; );&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;		sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;associated-pages&lt;/ins&gt;&#039;, &#039;#&#039;, &#039;&amp;lt;&#039;, &#039;ca-sidebar&#039;, &#039;Скрыть панель навигации&#039;, &#039;a&#039; );&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;		$( sidebarSwitch ).click( function ( e ) {&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;		$( sidebarSwitch ).click( function ( e ) {&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;			e.preventDefault();&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;			e.preventDefault();&lt;/div&gt;&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-l39&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&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;			// Change this if you want to show the sidebar by default&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;			// Change this if you want to show the sidebar by default&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;			//sidebarHide();&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;			//sidebarHide();&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;			sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;namespaces&lt;/del&gt;&#039;, &#039;#&#039;, &#039;&amp;lt;&#039;, &#039;ca-sidebar&#039;, &#039;Скрыть панель навигации&#039;, &#039;a&#039; );&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;			sidebarSwitch = mw.util.addPortletLink( &#039;p-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;associated-pages&lt;/ins&gt;&#039;, &#039;#&#039;, &#039;&amp;lt;&#039;, &#039;ca-sidebar&#039;, &#039;Скрыть панель навигации&#039;, &#039;a&#039; );&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;			$( sidebarSwitch ).click( function ( e ) {&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;			$( sidebarSwitch ).click( function ( e ) {&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;			e.preventDefault();&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;			e.preventDefault();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key eter_psaltiki:diff:1.41:old-1532:rev-8918:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>https://psaltiki.site.eterhost.ru/index.php?title=MediaWiki:Hidesidebar.js&amp;diff=1532&amp;oldid=prev</id>
		<title>Root: Created page with &quot;/* Добавляет в верхнюю панель кнопку, с помощью которой можно скрыть/показать левое навигационн...&quot;</title>
		<link rel="alternate" type="text/html" href="https://psaltiki.site.eterhost.ru/index.php?title=MediaWiki:Hidesidebar.js&amp;diff=1532&amp;oldid=prev"/>
		<updated>2017-06-21T12:41:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;/* Добавляет в верхнюю панель кнопку, с помощью которой можно скрыть/показать левое навигационн...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Добавляет в верхнюю панель кнопку, с помощью которой можно скрыть/показать левое навигационное меню и растянуть основной текст на его место. Полезно на узких экранах и когда окно браузера достаточно узкое. Основан на https://en.wikipedia.org/wiki/User:PleaseStand/Hide_Vector_sidebar. */&lt;br /&gt;
&lt;br /&gt;
( function ( mw, $ ) {&lt;br /&gt;
	var sidebarSwitch;&lt;br /&gt;
&lt;br /&gt;
	function sidebarHide() {&lt;br /&gt;
		document.getElementById( &amp;#039;mw-panel&amp;#039; ).style.visibility = &amp;#039;hidden&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;mw-head-base&amp;#039; ).style.marginLeft = &amp;#039;0&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;content&amp;#039; ).style.marginLeft = &amp;#039;0&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;left-navigation&amp;#039; ).style.marginLeft = &amp;#039;0&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;footer&amp;#039; ).style.marginLeft = &amp;#039;0&amp;#039;;&lt;br /&gt;
		if ( sidebarSwitch ) {&lt;br /&gt;
			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&lt;br /&gt;
		}&lt;br /&gt;
		sidebarSwitch = mw.util.addPortletLink( &amp;#039;p-namespaces&amp;#039;, &amp;#039;#&amp;#039;, &amp;#039;&amp;gt;&amp;#039;, &amp;#039;ca-sidebar&amp;#039;, &amp;#039;Показать панель навигации&amp;#039;, &amp;#039;a&amp;#039; );&lt;br /&gt;
		$( sidebarSwitch ).click( function ( e ) {&lt;br /&gt;
			e.preventDefault();&lt;br /&gt;
			sidebarShow();&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
	function sidebarShow() {&lt;br /&gt;
		document.getElementById( &amp;#039;mw-panel&amp;#039; ).style.visibility = &amp;#039;&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;mw-head-base&amp;#039; ).style.marginLeft = &amp;#039;&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;content&amp;#039; ).style.marginLeft = &amp;#039;&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;left-navigation&amp;#039; ).style.marginLeft = &amp;#039;&amp;#039;;&lt;br /&gt;
		document.getElementById( &amp;#039;footer&amp;#039; ).style.marginLeft = &amp;#039;&amp;#039;;&lt;br /&gt;
		if ( sidebarSwitch ) {&lt;br /&gt;
			sidebarSwitch.parentNode.removeChild(sidebarSwitch);&lt;br /&gt;
		}&lt;br /&gt;
		sidebarSwitch = mw.util.addPortletLink( &amp;#039;p-namespaces&amp;#039;, &amp;#039;#&amp;#039;, &amp;#039;&amp;lt;&amp;#039;, &amp;#039;ca-sidebar&amp;#039;, &amp;#039;Скрыть панель навигации&amp;#039;, &amp;#039;a&amp;#039; );&lt;br /&gt;
		$( sidebarSwitch ).click( function ( e ) {&lt;br /&gt;
			e.preventDefault();&lt;br /&gt;
			sidebarHide();&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
	// Only activate on Vector skin&lt;br /&gt;
	if ( mw.config.get( &amp;#039;skin&amp;#039; ) === &amp;#039;vector&amp;#039; ) {&lt;br /&gt;
		$( function() {&lt;br /&gt;
			// Change this if you want to show the sidebar by default&lt;br /&gt;
			//sidebarHide();&lt;br /&gt;
			sidebarSwitch = mw.util.addPortletLink( &amp;#039;p-namespaces&amp;#039;, &amp;#039;#&amp;#039;, &amp;#039;&amp;lt;&amp;#039;, &amp;#039;ca-sidebar&amp;#039;, &amp;#039;Скрыть панель навигации&amp;#039;, &amp;#039;a&amp;#039; );&lt;br /&gt;
			$( sidebarSwitch ).click( function ( e ) {&lt;br /&gt;
			e.preventDefault();&lt;br /&gt;
			sidebarHide();&lt;br /&gt;
			} );&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
 &lt;br /&gt;
}( mediaWiki, jQuery ) );&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>