This page is loaded as a part of the
CollapsibleNav gadget, used by 7,193 users.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see
Wikipedia:Bypass your cache.
/** * Collapsible navigation for Vector * @maintainer Nardog */// CC0'use strict';functiononToggle(e){varcollapsedIds=mw.storage.getObject('vector-nav-collapsed')||[],index=collapsedIds.indexOf(this.id);if(e.type==='afterExpand'){// Remove ID from arrayif(index!==-1){collapsedIds.splice(index,1);}if(collapsedIds.length){mw.storage.setObject('vector-nav-collapsed',collapsedIds);}else{// Remove the data altogether if emptymw.storage.remove('vector-nav-collapsed');}}else{if(index===-1){collapsedIds.push(this.id);mw.storage.setObject('vector-nav-collapsed',collapsedIds);}}}$(function(){varcollapsedIds=mw.storage.getObject('vector-nav-collapsed')||[];$('#mw-panel .vector-menu').addClass('collapsible-nav mw-collapsible').addClass(function(){if(collapsedIds.indexOf(this.id)!==-1){return'mw-collapsed';}}).children('.vector-menu-heading').addClass('mw-collapsible-toggle').end().children('.vector-menu-content').addClass('mw-collapsible-content').end().makeCollapsible().on('afterCollapse.mw-collapsible afterExpand.mw-collapsible',onToggle);});
From Wikipedia, the free encyclopedia
This page is loaded as a part of the
CollapsibleNav gadget, used by 7,193 users.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see
Wikipedia:Bypass your cache.
/** * Collapsible navigation for Vector * @maintainer Nardog */// CC0'use strict';functiononToggle(e){varcollapsedIds=mw.storage.getObject('vector-nav-collapsed')||[],index=collapsedIds.indexOf(this.id);if(e.type==='afterExpand'){// Remove ID from arrayif(index!==-1){collapsedIds.splice(index,1);}if(collapsedIds.length){mw.storage.setObject('vector-nav-collapsed',collapsedIds);}else{// Remove the data altogether if emptymw.storage.remove('vector-nav-collapsed');}}else{if(index===-1){collapsedIds.push(this.id);mw.storage.setObject('vector-nav-collapsed',collapsedIds);}}}$(function(){varcollapsedIds=mw.storage.getObject('vector-nav-collapsed')||[];$('#mw-panel .vector-menu').addClass('collapsible-nav mw-collapsible').addClass(function(){if(collapsedIds.indexOf(this.id)!==-1){return'mw-collapsed';}}).children('.vector-menu-heading').addClass('mw-collapsible-toggle').end().children('.vector-menu-content').addClass('mw-collapsible-content').end().makeCollapsible().on('afterCollapse.mw-collapsible afterExpand.mw-collapsible',onToggle);});