this post was submitted on 01 Jun 2024
26 points (100.0% liked)

Wikipedia

3192 readers
300 users here now

A place to share interesting articles from Wikipedia.

Rules:

Recommended:

founded 2 years 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

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year 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

[–] [email protected] 2 points 1 year 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...

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year 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

[–] [email protected] 1 points 1 year 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');
})();