Five place=country nodes lost wikidata tags, causing country labels to disappear in Protomaps

Note: This post was drafted with the assistance of AI tools. I have reviewed it and made every effort to verify the information and sources.


Hello,

I found that five place=country nodes currently have no wikidata tag. Each node had a stable Wikidata ID in its previous history, and the tags appear to have been removed while language names were being edited.

I am not experienced with editing OpenStreetMap, so I would appreciate help from an experienced mapper to verify whether these tags should be restored and, if appropriate, make the edits.

Affected nodes

Country Node Previous tag Versions Removal changeset
China 424313582 wikidata=Q148 v117 to v118 181051453
Bangladesh 432424937 wikidata=Q902 v98 to v99 181051453
Bhutan 424311028 wikidata=Q917 v87 to v88 181051453
United Arab Emirates 424310703 wikidata=Q878 v80 to v81 181051453
South Africa 424298167 wikidata=Q258 v94 to v95 179811511

History evidence

The China node history shows that v117 contained wikidata=Q148, while v118 has no wikidata tag.

The exact difference is:

Removed: wikidata=Q148
Added:   name:wal=Chaynaa
Changed: none

The same pattern appears for Bangladesh, Bhutan, and the United Arab Emirates in changeset 181051453. South Africa lost wikidata=Q258 in changeset 179811511.

The existing discussion on changeset 181051453 already asks why the Wikidata tags were removed, but it has not received a reply.

Current OSM query

This Overpass query currently returns exactly the five nodes listed above:

[out:json][timeout:60];
node["place"="country"][!"wikidata"];
out meta tags;

Downstream effect

The missing tags affect country labels in the open source Protomaps Basemap.

The generator uses the OSM wikidata tag to look up curated country zoom ranges. The relevant files in the protomaps/basemaps repository are:

tiles/src/main/java/com/protomaps/basemap/layers/Places.java
tiles/src/main/resources/places.csv

The default country range is z5 through z8. The curated China entry is Q148,1,5,-1, which places the feature in z1 through z5 tiles.

With wikidata=Q148 missing, China falls back to z5 through z8. Current Protomaps v4 tiles contain no China country-label feature at z0 through z4. The same fallback affects the other four nodes.

This rendering impact is supporting evidence. The proposed OSM correction is based on the node histories and the Wikidata IDs that existed before the two changesets.

Other removed tags

The same edits also removed:

  • wikipedia=ar:الإمارات العربية المتحدة from the United Arab Emirates node.
  • wikipedia=en:South Africa from the South Africa node.

These tags should be reviewed separately before restoration.

Questions

  1. Is restoring the five historical wikidata tags appropriate under current OSM tagging practice?
  2. Could an experienced mapper verify the current node versions and make the restoration if appropriate?
  3. Should the two removed wikipedia tags also be restored, or should they be handled separately?

Thank you.

For China user who did this ignored changeset comment in Changeset: 181051453 | OpenStreetMap so this change may be reverted, partially or in full (though it requires checking what is being reverted)

is there way to easily check what was changed in tags and whether geometries were changed?

I had a look at OSMcha: OSMCha

added 11 tag name:wal
changed 5 times value of wikipedia
deleted 5 times value of wikidata
deleted 1 time tag wikipedia
no geometry changes

Maybe it would be easiest do redo the changes and deletes manually.
But it should be done.

I think the CS simply should be reverted as the user did not respond within 5 month to the CS comment.

The user hasn’t edited for 11 days, so may not see it immediately, but I’ve asked them to reply via a “message that must be read before continuing to edit”.

(DWG ticket “2026082310000081”)

– Andy (from the DWG)

This user has also changed the Wikipedia tag of many countries and cities from the correct local language to English. I’ve reverted some, but there are still many errors left.

I suspect the removal of the wikidata tags may be related to iD blocking modification of name tags when the wikidata tag is present.

I’ve just reverted the place=country nodes last edited by this user where wikipedia begins en in this changeset. Any nodes with edits by subsequent mappers were skipped. Some name:wal will have been lost. See e.g. here for an example.

I have also restored the missing wikidata tags in changesets https://www.openstreetmap.org/changeset/187961907 through https://www.openstreetmap.org/changeset/187962099.

Some wikipedia tags have not been restored (see e.g. https://map.atownsend.org.uk/maps/osm-deep-history/#/node/424310703). Please feel free to re-add those.