Opened 4 years ago

Last modified 4 years ago

#22189 closed defect

"wikipedia tag has an unknown language prefix" in Belarus — at Version 2

Reported by: anonymous Owned by: team
Priority: normal Milestone: 22.06
Component: Core validator Version:
Keywords: wikipedia Cc:

Description (last modified by skyper)

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.

Change History (2)

comment:1 by anonymous, 4 years ago

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";

comment:2 by skyper, 4 years ago

Component: CoreCore validator
Description: modified (diff)
Keywords: wikipedia added
Note: See TracTickets for help on using tickets.