Skip to content

Eccenux/wiki-lang-on-top

Repository files navigation

Lang on top

Simply put – it puts language switch on top bar (pun intended 😉).

It works great with my fixed header as you always have language button in the same place on the screen. Wikipedysta:Nux/Fixed_top_bar.css

Oh, both are intended for Vector 2022. I try to keep up with updates of V22 and all layout changes, but you can ping me on Wikipedia if something is not working as expected. Suggestions are also welcome.

Installation

  1. Install TamperMonkey Firefox add-on (there is a Chrome version too).
  2. Once TM is installed → install the script.

I usually work in Firefox, but the script should work fine in Chrome, Microsoft Edge, Safari, Opera and all that jazz. IE is not supported. More on other browser on TM website: www.tampermonkey.net.

Example

Wikipedia article with toc on the right and lang on top.

On the second image you should notice that whole bar is left on top (not just a replacement bar as in current V22). Again, this is part of my Fixed_top_bar.css. You can load that CSS in Stylus (fastest) or via @import in your vector.css.

Scrolled down article keeps whole bar on top.

The article on the image was not written by me. See authors of the article.

License and author(s)

Author: Maciej Nux Jaros.

License: CC-BY.

About

Language selector on the top bar (wiki-lang-on-top)

Resources

Stars

Watchers

Forks

Contributors