Modify ↓
#22189 closed defect (fixed)
"wikipedia tag has an unknown language prefix" in Belarus
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 22.06 |
| Component: | Core validator | Version: | |
| Keywords: | wikipedia | Cc: |
Description (last modified by )
Hi,
I don't have OSM so I can't create the ticket from there. But there's no need I think, it's not a JOSM problem but a validator one. The validator (used by OSMOSE as well) flagged 1267 tags in Belarus, such as: "wikipedia=be-tarask:Лунін", but be-tarask is a valid wikipedia prefix: https://be-tarask.wikipedia.org/
Another Wikipedia problem that could be fixed: #21802
Georgian doesn't have capitalized letters.
Attachments (0)
Change History (4)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
| Component: | Core → Core validator |
|---|---|
| Description: | modified (diff) |
| Keywords: | wikipedia added |
comment:4 by , 3 years ago
| Milestone: | → 22.06 |
|---|
Note:
See TracTickets
for help on using tickets.



Moreover, it is JOSM itself that suggests this exact tag in another validator check:
*[wikipedia =~ /^be-x-old:/] { 28 throwWarning: tr("wikipedia ''{0}'' language is obsolete, use ''{1}'' instead", "be-x-old", "be-tarask"); 29 fixAdd: concat("wikipedia=be-tarask:", get(regexp_match("^be-x-old:(.+)$", tag("wikipedia")),1)); 30 assertMatch: "node wikipedia=be-x-old:foo"; 31 assertNoMatch: "node wikipedia=abe-x-old:foo";