Page MenuHomePhabricator

mw-contributions-current css class missing from Special:Contributions
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:
Nothing found.

What should have happened instead?:
Entries marked with (current) should also have the class .mw-contributions-current.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
This was first reported by @Tamzin 25 minutes after T375659: 1.43.0-wmf.28 deployment blockers rolled to enwiki. The code to add the class still exists in ContributionsPager.php but was recently changed by T377482-related work.

Event Timeline

Change #1082854 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] ContributionsPager: Fix getTemplateParams() parameter

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

Change #1082858 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/extensions/CheckUser@master] Fix getTemplateParams() $classes parameter

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

Change #1082854 merged by Samtar:

[mediawiki/core@master] ContributionsPager: Fix getTemplateParams() parameter

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

Change #1083177 had a related patch set uploaded (by Dreamy Jazz; author: Ammarpad):

[mediawiki/core@REL1_43] ContributionsPager: Fix getTemplateParams() parameter

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

Change #1083178 had a related patch set uploaded (by Dreamy Jazz; author: Ammarpad):

[mediawiki/extensions/CheckUser@REL1_43] Fix getTemplateParams() $classes parameter

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

Change #1082858 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Fix getTemplateParams() $classes parameter

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

Change #1083177 merged by Dreamy Jazz:

[mediawiki/core@REL1_43] ContributionsPager: Fix getTemplateParams() parameter

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

Change #1083178 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@REL1_43] Fix getTemplateParams() $classes parameter

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

I've backported this to REL1_43, so that the class isn't missing for the release version.

Change #1083591 had a related patch set uploaded (by Kosta Harlan; author: Ammarpad):

[mediawiki/core@wmf/1.43.0-wmf.28] ContributionsPager: Fix getTemplateParams() parameter

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

Change #1083592 had a related patch set uploaded (by Kosta Harlan; author: Ammarpad):

[mediawiki/extensions/CheckUser@wmf/1.43.0-wmf.28] Fix getTemplateParams() $classes parameter

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

Change #1083592 merged by Hashar:

[mediawiki/extensions/CheckUser@wmf/1.43.0-wmf.28] Fix getTemplateParams() $classes parameter

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

Change #1083753 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] tests: Add test for SpecialContributions current edit css class

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

Change #1083591 merged by Hashar:

[mediawiki/core@wmf/1.43.0-wmf.28] ContributionsPager: Fix getTemplateParams() parameter

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

Mentioned in SAL (#wikimedia-operations) [2024-10-28T08:28:29Z] <kharlan@deploy2002> Started scap sync-world: Backport for [[gerrit:1083591|ContributionsPager: Fix getTemplateParams() parameter (T378132)]], [[gerrit:1083592|Fix getTemplateParams() $classes parameter (T378132)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-28T08:31:25Z] <kharlan@deploy2002> kharlan: Backport for [[gerrit:1083591|ContributionsPager: Fix getTemplateParams() parameter (T378132)]], [[gerrit:1083592|Fix getTemplateParams() $classes parameter (T378132)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-28T08:38:07Z] <kharlan@deploy2002> Finished scap sync-world: Backport for [[gerrit:1083591|ContributionsPager: Fix getTemplateParams() parameter (T378132)]], [[gerrit:1083592|Fix getTemplateParams() $classes parameter (T378132)]] (duration: 09m 38s)

The fix for this is live on all wikis. Thanks for reporting the issue and filing a patch, apologies for the breakage and inconvenience.

Change #1083753 merged by jenkins-bot:

[mediawiki/core@master] tests: Add test for SpecialContributions current edit css class

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