Last modified: 2014-04-23 11:54:49 UTC
If an item that is referenced in a claim of another item gets deleted, it is still shown as a link in that item. Instead it should be not linked and shown with a hint "deleted item". This functionality broke (possibly) during the introduction of backend formatters for items.
This is a backend issue, since the frontend does not do any formatting on its own anymore.
The problem is doing this without asking the database about each link individually. We'll need to refactor EntityIdHtmlLinkFormatter and related classes so they can take information about the existance of an item (and also its link and description) from a service that encapsulates the required batch query logic.
Change 117424 had a related patch set uploaded by Thiemo Mättig (WMDE): [WIP] Properly red-link deleted properties and items https://gerrit.wikimedia.org/r/117424
Change 125874 had a related patch set uploaded by Thiemo Mättig (WMDE): Render links to deleted items in red https://gerrit.wikimedia.org/r/125874
Change 125874 merged by jenkins-bot: Render links to deleted items in red https://gerrit.wikimedia.org/r/125874