News for hackers. Stuff that matters.
Re:Golden parachutes: Record severance payments at Wikimedia... by Akronymus on Monday May 22, 2023 @05:35PM (#36037012)
I use redirector with the following settings:

Redirect: https:\/\/(.)\.wikipedia\.org\/wiki\/([^?])(?!=\?useskin=vector)

to: https://$1.wikipedia.org/wiki/$2?useskin=vector

Applies to: Main window (address bar)

Re:Golden parachutes: Record severance payments at Wikimedia... by Am4TIfIsER0ppos on Monday May 22, 2023 @05:49PM (#36037148)
Are you saying if we use the URL parameter "useskin" set to "vector" we can get the old layout back? I wonder if this applies on other sites using mediawiki.

[EDIT] Fuck me! It does work both on wikipedia and the Arch wiki. So long.

Re:Golden parachutes: Record severance payments at Wikimedia... by bawolff on Tuesday May 23, 2023 @02:47AM (#36040769)
And if you want the even older skin ?useskin=monobook
Re:Golden parachutes: Record severance payments at Wikimedia... by hashar on Tuesday May 23, 2023 @03:08AM (#36040912)
The `useskin` parameter should work on any MediaWiki instance as long as the targeted skin is installed on the instance. You can grab the list of skins from:

Special:Version (example: https://en.wikipedia.org/wiki/Special:Version#mw-version-ski... )

An API query: * direct: https://en.wikipedia.org/w/api.php?action=query&format=json&... * demo: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=quer...

Which yields the code name of each skins installed (eg: vector-2022, vector, monobook ...).

Re:Golden parachutes: Record severance payments at Wikimedia... by capitainenemo on Monday May 22, 2023 @09:48PM (#36038856)
Thank you for this! Just installed redirector. Actually a few of my tampermonkey scripts are to map twitter to nitter etc, and I have old reddit redirect addon which could be consolidated into this as well.

BTW, to make it work I had to change:

    (.) to ([^.]*) and ([^?]) to ([^?]*) 
I think HN formatting ate some characters (I used indenting to try and preserve)