Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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 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.

Attachments (0)

Change History (4)

comment:1 by anonymous, 3 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, 3 years ago

Component: CoreCore validator
Description: modified (diff)
Keywords: wikipedia added

comment:3 by Klumbumbus, 3 years ago

Resolution: fixed
Status: newclosed

In 18509/josm:

fix #22189 - Update valid wikipedia languages from https://www.wikidata.org/w/api.php?action=sitematrix&formatversion=2&format=json (sitematrix.*.code)

comment:4 by Klumbumbus, 3 years ago

Milestone: 22.06

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.