User:Betty/custom languages.js/documentation

Documentation for User:Betty/custom languages.js. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This script displays a collapse/expand button next to each language. All languages are collapsed by default. You can toggle each language and your preference will be remembered.

The preferences are saved in the localStorage of the browser.

I tried TabbedLanguages and found it clunky and buggy, so I wrote my own script.

How to use:

edit

Copy the line below, paste into your common.js page, and save.

importScript('User:Betty/custom_languages.js'); //Backlink: [[User:Betty/custom_languages.js]]

Screenshots:

edit