User:Ahmad252/scripts/Gadget-CollapsibleSidebar

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
CollapsibleSidebar
Description Makes the sidebar collapsible
Author Ykhwong (Original script)
Ahmad252 (Localization)
Status Stable
First released 30 January 2020
Version 1.0.0
Updated 30 January 2020
Skin support Vector
Source User:Ahmad252/scripts/Gadget-CollapsibleSidebar.js

This script adds a tiny arrow next to the sidebar which allows users to hide and unhide the sidebar. It comes from Korean Wikipedia (here), but has been localized for Commons. Please note that this only works with Vector (the default skin).

Installation[edit]

  • Go to your common.js.
  • Copy the following code, and paste it on your common.js, or create the page with it: {{Install user script|User:Ahmad252/scripts/Gadget-CollapsibleSidebar.js}}
  • Done! You should now be able to see the arrow.