fix(IT): merge 2 dedup pairs flagged by #1395 remap (#1349 follow-up)#1481
Merged
Conversation
PR #1479 deferred these two merged-comune pairs because neither half carried the modern ISTAT-canonical name. Resolves them now: - Pair MN: rename id 60744 'Sermide' → 'Sermide e Felonica' (native + name); set wikiDataId Q39681; drop id 138474 'Felonica'. - Pair PV: rename id 138065 'Corteolona' → 'Corteolona e Genzone' (native + name); set wikiDataId Q3702780; drop id 138905 'Genzone'. Row count: 9941 → 9939. Refs #1349, #1479. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Follow-up data cleanup for Italy city contributions to resolve two remaining duplicate comune pairs previously deferred, by renaming the kept records to the ISTAT-canonical merged-comune names and removing the absorbed duplicates.
Changes:
- Rename city id
60744to Sermide e Felonica and setwikiDataIdtoQ39681; remove duplicate city id138474(Felonica). - Rename city id
138065to Corteolona e Genzone and changewikiDataIdtoQ3702780; remove duplicate city id138905(Genzone).
Comments suppressed due to low confidence (2)
contributions/cities/IT.json:104189
- After renaming this city to "Sermide e Felonica", the
translationsblock still contains the old name (e.g.,it,en-equivalents, etc. are still "Sermide"). This makes the record internally inconsistent and will surface incorrect localized names to consumers. Please update the translations to the merged comune name (or remove entries you can't confidently translate).
contributions/cities/IT.json:283441 - This record is renamed to "Corteolona e Genzone", but the
translationsvalues are still for the pre-merge name "Corteolona" (including the Italianittranslation). This introduces incorrect localized output for the merged comune. Please update translations to the merged name (or remove any languages you cannot verify).
dr5hn
added a commit
that referenced
this pull request
Apr 27, 2026
…g, postcodes (#1491) Adds: - v3.2 release section summarising today's work (#1349, #1352, #1039, #1481-#1490). - Notable callout for FR mainland city region->department remap (mirrors the existing IT one), explicitly calling out the behaviour change for consumers querying by region state_code. - Chronological entries for each of the 19 PRs that landed today (changelog automation only runs weekly). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves the two duplicate pairs explicitly deferred by PR #1479 because neither half carried the modern ISTAT-canonical merged-comune name. Both merges happened on 2017-01-01 under regional law and have new post-merger Wikidata items.
Pair MN (state_code=MN)
60744Sermide→Sermide e Felonica(name+native)wikiDataIdtoQ39681(canonical merged-comune item; wasnull)138474Felonica(absorbed into the merger;Q42389retained on Wikidata as historical-comune entity)Pair PV (state_code=PV)
138065Corteolona→Corteolona e Genzone(name+native)wikiDataIdtoQ3702780(canonical merged-comune item; wasQ40346for the legacy Corteolona-only entity)138905Genzone(absorbed;Q39697retained on Wikidata as historical-comune entity)Counts
contributions/cities/IT.json: 9,941 → 9,939 rows (−2, as expected)Notes
state_code(MN, PV).bin/scripts/sync/normalize_json.pyreported the file already normalized; no ID/timestamp churn needed.Test plan
namein {Sermide,Felonica,Corteolona,Genzone} in IT.json🤖 Generated with Claude Code