User:Andrybak/Scripts/Vectron
Userscript Vectron automatically toggles the UI between wide and narrow Vector 2022, depending on the type of the page.
Installation
Add the following to your vector-2022.js subpage:
importScript('User:Andrybak/Vectron.js'); // Backlink: [[User:Andrybak/Vectron.js]]
To install on another wiki, use the following snippet:
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Andrybak/Vectron.js&action=raw&ctype=text/javascript');