anon icon indicating copy to clipboard operation
anon copied to clipboard

Wikidata Use labels as Name

Open wolf128058 opened this issue 3 years ago • 0 comments

In Case of a Wikidata-Articles the Label would be a little more interesting than that Q-Number for the Change-Alert. For example https://www.wikidata.org/wiki//Q42 has the label "Douglas Adams" in DE.

To get that label you could query https://www.wikidata.org/wiki/Special:EntityData/Q42.json for the JMESPath entities.[*][0][0].labels.de.value ... or what ever iso2alpha your bot likes.

wolf128058 avatar Dec 07 '22 20:12 wolf128058