Page MenuHomePhabricator

[statements-ui] Display red links for deleted Properties
Closed, DeclinedPublic

Description

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

Details

Reference
bz45675

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:15 AM
bzimport set Reference to bz45675.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 44643 ***
  • Bug 45799 has been marked as a duplicate of this bug. ***

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.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher claimed this task.

We did implement the opposite. Closing this one then.