Page MenuHomePhabricator

Reduce weight and/or size of headings on talk pages
Closed, ResolvedPublic

Assigned To
Authored By
Esanders
Jun 29 2022, 11:18 AM
Referenced Files
F35489997: image.png
Aug 25 2022, 5:25 PM
F35489999: image.png
Aug 25 2022, 5:25 PM
F35489995: image.png
Aug 25 2022, 5:25 PM
F35489993: image.png
Aug 25 2022, 5:25 PM
F35286401: image.png
Jun 29 2022, 11:18 AM
F35286399: image.png
Jun 29 2022, 11:18 AM
F35286390: image.png
Jun 29 2022, 11:18 AM
F35286394: image.png
Jun 29 2022, 11:18 AM
Tokens
"Love" token, awarded by alexhollender_WMF.

Description

DiscussionTools changes h2's from serif-24px, to sansserif-bold-24px.

The change of font is probably enough to distinguish talk pages from article pages, which was the motivation behind this change.

As talk page headers (topic subjects) are typically longer than article headers, it may be helpful to reduce the font-weight and/or size to fit more text in, especially on mobile:

Original (24px bold)24px + normal20px + bold20px + normal
Mobile
image.png (681×393 px, 80 KB)
image.png (683×391 px, 79 KB)
image.png (679×389 px, 79 KB)
image.png (678×385 px, 75 KB)
Expanded
image.png (683×392 px, 101 KB)
image.png (684×386 px, 101 KB)
image.png (680×389 px, 103 KB)
image.png (683×387 px, 102 KB)
Desktop
image.png (920×975 px, 275 KB)
image.png (921×969 px, 273 KB)
image.png (912×975 px, 273 KB)
image.png (909×968 px, 271 KB)

Note that the existing MobileFrontend talk page experience uses and even smaller font size (16px, same as body text) for the heading also with no bold, although the heading is never shown next to text (it becomes a dialog header)

image.png (685×391 px, 44 KB)
image.png (681×390 px, 78 KB)

Event Timeline

Change 824515 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] Reduce size of topic headings to 18px on mobile

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

The above patch implements an 18px normal-weight heading, as suggested by @nayoub yesterday.

Thanks to @alexhollender_WMF who initially suggested the de-bolding.

It seemed weird at first but I got used to it. However, there is too much white space around the headings with the smaller font size. We should probably reduce or remove some margins, especially on the "Latest comment" line.

ppelberg edited projects, added Editing-team (Kanban Board); removed Editing-team.
ppelberg subscribed.

The above patch implements an 18px normal-weight heading, as suggested by @nayoub yesterday.

Lowering the font size sounds good to me. Although, a question in response to the above:

I do not recall us converging on returning the headings to "normal-weight."

@nayoub you might very well have suggested we do the above and I might've missed it.

So, can you please clarify: do you advise that we both 1) reduce the size of mobile talk page headings to 18px and 2) present them using a "normal-weight"? I default to what you think is best here, I just want to make sure I'm clear about that is.

However, there is too much white space around the headings with the smaller font size. We should probably reduce or remove some margins, especially on the "Latest comment" line.

Good spot and agreed. Here's a ticket for us to iterate on the mobile topic container spacing: T315710.

To be consistent with the visual design of Talk pages on the apps, it's best to go with bold text for the headers on mobile.

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/a53bf33300/w/

Change 824515 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Reduce size of topic headings to 18px on mobile

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

EAkinloose subscribed.
NormalBold
image.png (693×411 px, 63 KB)
image.png (687×407 px, 65 KB)
image.png (689×399 px, 83 KB)
image.png (688×395 px, 83 KB)

✅ Reduce weight and/or size of headings on talk pages

Looks like the attached Bold screenshots

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/657c5ad0fd/w/