Page MenuHomePhabricator

Class for statement rank is not updated when editing
Closed, ResolvedPublic

Description

Statements have classes corresponding to their ranks (wb-normal, wb-deprecated or wb-preferred). As I mentioned in T198907, I use those classes in my common.css to make the different ranks easier to distinguish. When changing statement ranks, these classes do not get dynamically updated, the page has to be reloaded to update them.

Event Timeline

Change 970485 had a related patch set uploaded (by 沈澄心; author: 沈澄心):

[mediawiki/extensions/Wikibase@master] Update CSS class for statement ranks after saved

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

Lydia_Pintscher subscribed.

Thank you for the patch! We will review it.

Change 974124 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Add test for updated statement rank CSS class

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

Change 970485 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Update CSS class for statement ranks after saved

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

Michael subscribed.

This can be verified on beta. Due to there not being a train next week, we expect this to land on www.wikidata.org only on 2023-11-29 (the week after next week on Wednesday).

Change 974124 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add test for updated statement rank CSS class

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