this post was submitted on 01 Jun 2024
25 points (96.3% liked)

Wikipedia

1530 readers
168 users here now

A place to share interesting articles from Wikipedia.

Rules:

Recommended:

founded 1 year ago
MODERATORS
 

this changes the width of the article (resembling the old style a little bit), as well as the SIZE of the text, which is very different from your browser changing the size of the page. Very convenient.

Only seen on the Dutch wikipedia

you are viewing a single comment's thread
view the rest of the comments
[–] usernamesAreTricky@lemmy.ml 3 points 5 months ago (1 children)

It is there on English Wikipedia too, either on the sidebar or with that button if you hide it from the sidebar. However, it seems to not show up when you are logged out. Wikipedia often does not give as much customization options when logged out because they rely heavily on caching pages for logged out users to keep things fast

You can still change the width of the page by clicking the button in the bottom right of the screen

See

https://en.wikipedia.org/wiki/Wikipedia:Vector_2022

https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements/Frequently_asked_questions

[–] dysprosium@lemmy.dbzer0.com 1 points 5 months ago (1 children)

is it not possible to inject some URL or SQL piece to set those preferences without logging in? I really don't want to be logged onto wikipedia...

[–] usernamesAreTricky@lemmy.ml 1 points 5 months ago (1 children)

There's some browser extensions you can use too. I think one of the things I linked mentioned some of those

[–] dysprosium@lemmy.dbzer0.com 0 points 5 months ago (1 children)

I installed a few but afaik they ALL change a heck lot more than just font size, unfortunately...

[–] usernamesAreTricky@lemmy.ml 1 points 5 months ago (1 children)

A bit more effort but you could also use some extensions that let you put any custom CSS styling on a page to

[–] dysprosium@lemmy.dbzer0.com 1 points 5 months ago

DONE.

// ==UserScript==
// @name     en.wikipedia font size LARGE
// @version  1
// @match    https://en.wikipedia.org/*
// @grant    none
// @require    http://code.jquery.com/jquery-3.6.0.min.js
// ==/UserScript==

(function(){
  'use strict';
  // Use the .css() method to change CSS properties
  $('.vector-feature-custom-font-size-clientpref--excluded, .vector-feature-custom-font-size-clientpref-0').css('--font-size-medium', '1.10rem');
})();