Page MenuHomePhabricator

[Regression] Wikitables has unwanted border spacing on mobile
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The tables have border spacing.

What should have happened instead?:
The tables should not have border spacing, just like on desktop, where there's no border spacing.

Software version (skip for WMF-hosted wikis like Wikipedia): 1.42 wmf.18

Other information (browser name/version, screenshots, etc.):
Does not affect wmf.17 (like https://en.m.wikipedia.org/wiki/Special:CentralAuth/Msz2001)

On mobile (the mediawiki.org page):

image.png (618×791 px, 68 KB)

On desktop (the mediawiki.org page):

image.png (501×735 px, 59 KB)

QA Results - Beta

ACStatusDetails
1T357589#9552772

QA Results - Prod

ACStatusDetails
1T357589#9565467

Event Timeline

@Jdlrobson Specifically it's fallout from https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/995137 removing the generic border-collapse from all minerva tables.

Change 1003807 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/skins/MinervaNeue@master] Add border-collpase to wikitable

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

ovasileva triaged this task as Medium priority.Feb 15 2024, 6:07 PM

@DLynch would it make sense to add this into the core styles? I assume Vector has a similar rule?

It's already in that file, so I assume that the issue is something like that not actually being loaded on mobile. (And unifying all that would be a much bigger change...)

Change 1003485 had a related patch set uploaded (by Jdlrobson; author: DLynch):

[mediawiki/skins/MinervaNeue@wmf/1.42.0-wmf.18] Add border-collapse to wikitable

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

Change 1003807 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Add border-collapse to wikitable

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

Change 1003485 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@wmf/1.42.0-wmf.18] Add border-collapse to wikitable

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

Mentioned in SAL (#wikimedia-operations) [2024-02-15T23:38:38Z] <thcipriani@deploy2002> Started scap: Backport for [[gerrit:1003485|Add border-collapse to wikitable (T357589)]]

Mentioned in SAL (#wikimedia-operations) [2024-02-15T23:40:07Z] <thcipriani@deploy2002> thcipriani and jdlrobson: Backport for [[gerrit:1003485|Add border-collapse to wikitable (T357589)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-02-15T23:50:10Z] <thcipriani@deploy2002> Finished scap: Backport for [[gerrit:1003485|Add border-collapse to wikitable (T357589)]] (duration: 11m 31s)

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

Use mobile version
Navigate to a page using wikitable, eg. https://m.mediawiki.org/wiki/Help:Tables#Wiki_table_markup_summary or https://meta.m.wikimedia.org/wiki/Special:CentralAuth/Msz2001
✅ AC1: The tables should not have border spacing, just like on desktop, where there's no border spacing.

screenshot 534.png (702×1 px, 151 KB)

screenshot 535.png (818×1 px, 147 KB)

ovasileva claimed this task.
ovasileva subscribed.

Looks good, resolving.

Test Result - Prod

Status: ✅ PASS
Environment: mediawiki
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

Use mobile version
Navigate to a page using wikitable, eg. https://m.mediawiki.org/wiki/Help:Tables#Wiki_table_markup_summary or https://meta.m.wikimedia.org/wiki/Special:CentralAuth/Msz2001
✅ AC1: The tables should not have border spacing, just like on desktop, where there's no border spacing.

screenshot 540.png (844×391 px, 65 KB)

screenshot 539.png (846×392 px, 113 KB)