Lucas_Werkmeister_WMDE added a comment.

  For tools / reusers that use `wbgetentities` with `languages=` and 
`languagefallback=1`, getting (mul) labels should “just work” – example:
  
  
https://test.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=Q57591&props=labels&languages=en&languagefallback=1
  
    {
        "entities": {
            "Q57591": {
                "type": "item",
                "id": "Q57591",
                "labels": {
                    "en": {
                        "value": "John Doe II",
                        "language": "mul",
                        "for-language": "en"
                    }
                }
            }
        },
        "success": 1
    }
  
  I.e., if an `en` label is removed in favor of a `mul` label, the label would 
still appear in the API response.

TASK DETAIL
  https://phabricator.wikimedia.org/T312723

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, JeanFred, VIGNERON, Aklapper, Manuel, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to