If we have to display deleted Properties in the UI (e.g. Statements using deleted properties), then we should display a red link there.
Version: unspecified
Severity: minor
If we have to display deleted Properties in the UI (e.g. Statements using deleted properties), then we should display a red link there.
Version: unspecified
Severity: minor
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | Lydia_Pintscher | T47675 [statements-ui] Display red links for deleted Properties | |||
Resolved | None | T45003 System for creating links to entities by their IDs within JavaScript |
This is *not* a duplicat of bug 44643 since bug 44643 was about nonsensical self-referencing links while this bug is about formatting the value (the link) as red links.
The latter is still not implemented as far as I can tell. Currently the item references to non-existant items are simply rendered as text and not as link.
The cleanest way to implement this would probably be to have a service object for creating links for a given entity ID injected into the valueview/snakview widgets.
I am not convinced a red link here is any useful. A red link in MediaWiki is there to help with marking content that still needs to be created. This is not the case here however. The property is gone and that is it. You don't follow the link to create this property. The semantics are very different.
You could however follow the link and have a look into the property's history to see what it has been representing and eventually undelete it or even undelete/merge it with another property.