Page MenuHomePhabricator

No tag styling in Minerva in Special:NewPages
Closed, ResolvedPublic0 Estimated Story PointsBUG REPORT

Description

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

Italic and smaller font is done by styles in Russian Wikipedia, but tag markers also lack parentheses () that are added via CSS. They should have them.

QA Results - Beta

ACStatusDetails
1T360843#9802724

QA Results - PROD

ACStatusDetails
1T360843#9827847

Event Timeline

Change #1013700 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Special:NewPages should generate markup consistent with other pager pages

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

Change #1015656 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Style Special:NewPage consistently with Special:RecentChanges

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

Right now the NewPages HTML is inconsistent with other pages that look similar. There are two issues here that need to be fixed in core for this to be styled correctly in Minerva and consistent with other pages:

  1. includes/specials/pagers/NewPagesPager.php extends includes/pager/ReverseChronologicalPager.php but doesn't seem to get the headers or timestamps..
	/** @var bool Whether to group items by date */
	public $mGroupByDate = true;
  1. includes/specials/SpecialNewPages.php doesn't seem to render the time either (includes/changes/ChangesList.php)
Jdlrobson renamed this task from No tag styling in Minerva to No tag styling in Minerva in Special:NewPages.Apr 15 2024, 10:26 PM

Change #1013700 merged by jenkins-bot:

[mediawiki/core@master] Special:NewPages should generate markup consistent with other pager pages

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

Jdlrobson triaged this task as Medium priority.Apr 24 2024, 6:12 PM
Edtadros subscribed.

Test Result - Beta

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

Test Artifact(s):

Test Steps

@Jdlrobson, the task description isn't very clear as to what I should be looking for. Please see the two images in beta. If these are a pass feel free to move to ready for signoff and resolve, also please leave a comment/screenshot annotation that clarifies what we should be looking for specifically when we test this in production.

screenshot 280.png (1×1 px, 171 KB)

screenshot 281.png (1×1 px, 219 KB)

Screenshots look like a pass to me! Thanks Edward!

Seems like tag markers are still displayed without parentheses, @Jdlrobson are you sure it is resolved?

Jdlrobson added a subscriber: jsn.sherman.

Thanks for the ping! I was mistaken. Looks like we fixed the markup but not the styles:

@jsn.sherman will review https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/1015656 shortly

@Jdlrobson just let me know when I will be able to test this in PROD, thanks!

ack, removing the deploy tag to make clearer that this wasn't resolved in that release.

Thanks @Jdlrobson, from the comments it looks like this will need to be retested again when the new patch is deployed in beta. I will remove the Verified tag and we will remove it from the deployment ticket table.

Change #1015656 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Style Special:NewPage consistently with Special:RecentChanges

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

Jdlrobson set the point value for this task to 0.

Sneak preview on https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:NewPages
Should be in production on 16th.

Hey @Edtadros when QAing - we're looking for clear markers for each piece of information e.g. a boundary such as "(" or a new line.
Tags can be seen at this URL (https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:NewPages?namespace=all&tagfilter=mobile+edit&username=&size-mode=min&size=&wpFormIdentifier=newpagesform&minervanightmode=0)

Jdlrobson lowered the priority of this task from Medium to Low.
Jdlrobson moved this task from Backlog to QA on the Web-Team-Backlog (FY2023-24 Q4 Sprint 3) board.

Test Result - Beta

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

Test Artifact(s):

Test Steps

✅ AC1: There should be clear markers for each piece of information e.g. a boundary such as "(" or a new line.

https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:NewPages?namespace=0&tagfilter=visualeditor&username=&size-mode=min&size=&wpFormIdentifier=newpagesform

screenshot 353.png (1×1 px, 269 KB)

ovasileva claimed this task.

Test Result - PROD

Status: ✅ PASS
Environment: PROD
OS: macOS Sonoma 14.5
Browser: Chrome 125
Device: MBA
Emulated Device:NA

Test Artifact(s):

Test Steps

✅ AC1: There should be clear markers for each piece of information e.g. a boundary such as "(" or a new line.

https://en.m.wikipedia.org/wiki/Special:NewPages?namespace=0&tagfilter=visualeditor&username=&size-mode=min&size=&wpFormIdentifier=newpagesform

2024-05-23_14-57-33.png (1×2 px, 296 KB)