Page MenuHomePhabricator

Edit font preview in preferences uses a small font size for monospace
Closed, ResolvedPublic1 Estimated Story Points

Description

At least in Firefox the preview of the edit font in the preferences (e.g. https://de.wikipedia.beta.wmflabs.org/wiki/Spezial:Einstellungen#mw-prefsection-editing) is smaller than usual for monospace, for me the preview has 10.5px, while on editing pages 12px is used (12.3px in NWE).
As mediawiki.editfont.css has just

.mw-editfont-monospace {
  font-family: monospace;
}

https://phabricator.wikimedia.org/source/mediawiki/browse/master/docs/uidesign/monospace.html explains why the font is too small in the preferences, though it remains a mystery for me why it has a good size on edit pages. Anyway, the size on edit pages should be kept, and the size in the preferences be increased to match it.

Event Timeline

Change 396005 had a related patch set uploaded (by Jforrester; owner: Esanders):
[mediawiki/core@master] Standardize editfont size across browsers/OSes

https://gerrit.wikimedia.org/r/396005

Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set the point value for this task to 1.

Change 396005 merged by jenkins-bot:
[mediawiki/core@master] Standardize editfont size across browsers/OSes

https://gerrit.wikimedia.org/r/396005

Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.