Page MenuHomePhabricator

Viewing deleted Wikidata items shows incomplete labels list
Open, Needs TriagePublicBUG REPORT

Description

This is a follow on from T261511

Steps to Reproduce:

  1. Look at a deleted revision for an item that had a label at that time, e.g. https://www.wikidata.org/w/index.php?title=Special:Undelete&target=Q13179939&timestamp=20201201125845

Actual Results:

A table is shown of three languages with no labels or descriptions. There is no option to show more languages.

image.png (401×947 px, 41 KB)

Expected Results:

I expect to see (or, alternatively, have some way to select to see) the "ne" label and alias on this item. Compare with what I see in the API: https://www.wikidata.org/w/api.php?action=query&prop=deletedrevisions&titles=Q13179939&drvslots=*&drvprop=content

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "-1": {
                "ns": 0,
                "title": "Q13179939",
                "missing": "",
                "deletedrevisions": [
                    {
                        "slots": {
                            "main": {
                                "contentmodel": "wikibase-item",
                                "contentformat": "application/json",
                                "*": "{\"type\":\"item\",\"id\":\"Q13179939\",\"labels\":{\"ne\":{\"language\":\"ne\",\"value\":\"\\u0915\\u0939\\u093f\\u0932\\u0947\"}},\"descriptions\":[],\"aliases\":{\"ne\":[{\"language\":\"ne\",\"value\":\"Kahile\"}]},\"claims\":[],\"sitelinks\":[]}"
                            }
                        }
                    },
                    {
                        "slots": {
                            "main": {
                                "contentmodel": "wikibase-item",
                                "contentformat": "application/json",
                                "*": "{\"type\":\"item\",\"id\":\"Q13179939\",\"labels\":{\"ne\":{\"language\":\"ne\",\"value\":\"\\u0915\\u0939\\u093f\\u0932\\u0947\"}},\"descriptions\":[],\"aliases\":{\"ne\":[{\"language\":\"ne\",\"value\":\"Kahile\"}]},\"claims\":[],\"sitelinks\":{\"newiki\":{\"site\":\"newiki\",\"title\":\"\\u0915\\u0939\\u093f\\u0932\\u0947\",\"badges\":[]}}}"
                            }
                        }
                    }
                ]
            }
        }
    }
}