Wikidata sync script may need modifying to accommodate Wikidata's new multilingual label feature #10112
Labels
enhancement
Actionable - add an enhancement to the source code
javascript
Pull requests that update Javascript code
At some point this year, Wikidata implemented a multilingual label feature intended to cut down on the number of identical labels and aliases for items across different languages. I ran the Wikidata sync script earlier, and it came across an item where a user utilized the multilingual label feature and subsequently blanked the labels of most languages, including English. The Wikidata sync script ignored the multilingual label and added a default English label as it does for Wikidata items without multilingual or English labels. (Given how new the feature is, I admit that this was the expected behavior.)
The reason I used the phrase "may need modifying" in the issue title is that in this specific case, the chosen English label was different than the value set for the multilingual label. While we may want to avoid duplicating multilingual labels if the value the script would set for English is the same as the multilingual label, there may also be situations where the multilingual label is flawed and an override would be appropriate.
The text was updated successfully, but these errors were encountered: