Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wikidata sync script may need modifying to accommodate Wikidata's new multilingual label feature #10112

Open
Snowysauce opened this issue Nov 1, 2024 · 1 comment
Labels
enhancement Actionable - add an enhancement to the source code javascript Pull requests that update Javascript code

Comments

@Snowysauce
Copy link
Collaborator

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.

@Snowysauce Snowysauce added enhancement Actionable - add an enhancement to the source code javascript Pull requests that update Javascript code labels Nov 1, 2024
@1ec5
Copy link
Member

1ec5 commented Nov 1, 2024

Wow, thanks for spotting this change – it could impact a lot of OSM data consumers that rely on labels for translations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Actionable - add an enhancement to the source code javascript Pull requests that update Javascript code
Projects
None yet
Development

No branches or pull requests

2 participants