Page MenuHomePhabricator

Visually distinguish deprecated statements in Wikidata UI
Open, Needs TriagePublic

Description

Currently statements with all possible ranks are displayed identically in the Wikidata web UI, which makes it difficult to distinguish deprecated (i.e. somewhat wrong) statements from correct ones. Statements with deprecated rank should be displayed clearly differently from non-deprecated statements (e.g. different background color, fat warning sign, etc.), in order to make sure that also casual Wikidata users understand the matter.

There was T115112 (closed) and there is T87327 (stale) related to this task.

Event Timeline

I use .wb-deprecated { background-color: mistyrose } (and .wb-preferred { background-color: lavender } for preferred) in my common.css for this. It works pretty well for me, except that the page has to be reloaded after editing ranks to update the classes. However I don't think changing the background colour on its own would be enough as a general solution, because it doesn't tell anyone why the background colour is different or what it means.

Distinguishing deprecated statements sounds like a good idea because deprecated statements are (usually) actually false, but I don't think it would be helpful to have a different background between preferred and normal statements.

but I don't think it would be helpful to have a different background between preferred and normal statements.

I find it useful. It makes it easier to see why a SPARQL query is returning a different number of results (it's only returning the preferred statements), that there is currently no preferred statement when there should be and to find the existing preferred rank statement (to mark it as no longer preferred) when adding a new preferred statement.