Last modified: 2014-02-12 23:38:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47675, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45675 - [statements-ui] Display red links for deleted Properties
[statements-ui] Display red links for deleted Properties
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Wikidata bugs
:
: 45799 (view as bug list)
Depends on: 43003
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-03 21:30 UTC by Daniel A. R. Werner
Modified: 2014-02-12 23:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2013-03-03 21:30:13 UTC
If we have to display deleted Properties in the UI (e.g. Statements using deleted properties), then we should display a red link there.
Comment 1 Lydia Pintscher 2013-11-04 13:12:53 UTC

*** This bug has been marked as a duplicate of bug 44643 ***
Comment 2 Lydia Pintscher 2013-11-04 14:42:49 UTC
*** Bug 45799 has been marked as a duplicate of this bug. ***
Comment 3 Daniel A. R. Werner 2013-11-04 18:10:51 UTC
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.
Comment 4 Lydia Pintscher 2013-11-04 18:38:37 UTC
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.
Comment 5 Daniel A. R. Werner 2013-11-04 19:36:20 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links