iD icon indicating copy to clipboard operation
iD copied to clipboard

warn when mapy.cz is used in a source tag

Open Jakuje opened this issue 2 years ago • 3 comments

I went through the changesets and most of them use directly mapserver.mapy.cz (some older used mX.mapserver.mapy.cz so I hope this regex should work and would not cause any false positives.

See #9708

Jakuje avatar Jun 23 '23 10:06 Jakuje

Adding this validation is fine, but note that it likely does not do what you might have intended with this PR: it only shows a warning when mapy.cz is used in a source tag of a map feature, (see screenshot below). It does not prevent users from using mapy.cz as a background layer.

image

tyrasd avatar Jul 12 '23 08:07 tyrasd

Given the original issue is solved, can this PR be closed?

pnorman avatar Sep 24 '23 21:09 pnorman

Yes, thanks. This can be closed. Solved via https://github.com/openstreetmap/openstreetmap-website/pull/4093

zbycz avatar Sep 25 '23 06:09 zbycz