Userscript to dodge Wiktionary's ugly new look

Off-topic discussion/chat/argue area with special rules of engagement.
Forum rules
The Off-Topic area is a general community discussion and chat area with special rules of engagement.

Enter, read and post at your own risk. You have been warned!
While our staff will try to guide the herd into sensible directions, this board is a mostly unrestricted zone where almost anything can be discussed, including matters not directly related to the project, technology or similar adjacent topics.

We do, however, require that you:
  • Do not post anything pornographic.
  • Do not post hate speech in the traditional sense of the term.
  • Do not post content that is illegal (including links to protected software, cracks, etc.)
  • Do not post commercial advertisements, SEO links or SPAM posts.
We also ask that you keep strongly polarizing topics like politics and religion to a minimum. This forum is not the right place to discuss such things.
Please do exercise some common sense. How you act here will inevitably influence how you are treated elsewhere.
User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1442
Joined: 2019-05-20, 20:07
Location: New England

Userscript to dodge Wiktionary's ugly new look

Post by Tharthan » 2024-11-29, 22:37

Wiktionary held off for quite a while, but sadly it has now adopted that ugly makeunder that Wikipedia has adopted.

In order to dodge this misbegotten alteration, one can use this Greasemonkey script:

Code: Select all

// ==UserScript==
// @name        Vector for Wiktionary
// @namespace   wiki1
// @include     https://en.wiktionary.org/wiki/*
// @run-at document-start
// @version     1
// @grant       none
// ==/UserScript==

  if(window.location.href.indexOf('useskin=vector') < 0)
    window.location.replace(
      window.location.href + 
      ((window.location.href.indexOf('?') < 0) ? '?':'&') +
      'useskin=vector'
    );
I just wanted to share that with any Pale Moon community member who uses Wiktionary somewhat regularly like I do.
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020

Lucio Chiappetti
Keeps coming back
Keeps coming back
Posts: 774
Joined: 2014-09-01, 15:11
Location: Milan Italy

Re: Userscript to dodge Wiktionary's ugly new look

Post by Lucio Chiappetti » 2024-11-29, 22:46

Not a Wiktionary user, but I was always annoyed by the "new Wikipedia skin" used systematically in the English wiki, and now sneaking through also in the Italian one (random pages). My solution was to use a bookmarklet in the Bookmark toolbar.

Code: Select all

javascript:var%20url%20=%20new%20URL(location.href);%20url.searchParams.set('useskin',%20'vector');%20location.href%20=%20url;
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: Userscript to dodge Wiktionary's ugly new look

Post by back2themoon » 2024-11-30, 20:24

I strongly recommend the one below. It covers all wik* websites, has some nice extras and was updated yesterday.

Vector Layout for Wikipedia (Fast)

User avatar
Mæstro
Astronaut
Astronaut
Posts: 552
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Userscript to dodge Wiktionary's ugly new look

Post by Mæstro » 2024-12-02, 17:18

I use URL redirections which append ?useskin=monobook after the address to achieve the same results without scripts or creating a Wikipedia account. I have implemented this piecemeal, so there are some pages which are not yet covered, but I believe one could expand my method to cover all cases.
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2900
Joined: 2012-08-19, 20:32

Re: Userscript to dodge Wiktionary's ugly new look

Post by back2themoon » 2024-12-02, 17:26

Your solution is interesting. One of the nice features of the userscript above, is its ability to remove that ugly "?useskin=vector" addition from the URL (in the case of WikiPedia), if one wants to cleanly share or store the link for example.

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1442
Joined: 2019-05-20, 20:07
Location: New England

Re: Userscript to dodge Wiktionary's ugly new look

Post by Tharthan » 2024-12-06, 14:47

back2themoon wrote:
2024-11-30, 20:24
I strongly recommend the one below. It covers all wik* websites, has some nice extras and was updated yesterday.

Vector Layout for Wikipedia (Fast)
Thank you for that.

I have replaced the previous scripts that I had been using with that one.
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020