Page MenuHomePhabricator

Font size too small on ProofreadPage
Closed, ResolvedPublicBUG REPORT


What is the problem?

From T322337#8406969:

After the change introduced here, the preview (in the vector-2022 skin) reverted to the standard font size in the main space,
but on Wikisource in the "Page" NS it made that (in the preview) unfortunately the font size is too small(!) (
(left view; right: preview):

image.png (683×1 px, 355 KB)

much smaller than before the font enlargement that this change was supposed to eliminate :(

This makes it very difficult to work on WS

I think the problem is it has two nested <div class="mw-parser-output">, which means font-size: 0.875em is applied twice.

I wonder if this bug affects other extensions or features?

Steps to reproduce problem
  1. Go to
  2. Click "Pokaż podgląd"
  3. Look at the font size of the preview text

Expected behavior: It should be 14px (if your browser is at 100% zoom and 16px default font size)
Observed behavior: It is 12.25px

You can also reproduce this on beta, e.g.


Wiki(s): Wektor 1.0.0 (8c48541) 02:19, 15 lis 2022. ProofreadPage – (ff8fc3b) 08:11, 14 lis 2022.

Event Timeline

To check the font size on preview on all namespaces on a wiki, you could use this script: Follow instructions here to setup.

Change 881746 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/skins/Vector@master] Fix font-size adjustments for narrow width

Change 881746 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Fix font-size adjustments for narrow width