Changeset 18564 in josm for trunk


Ignore:
Timestamp:
2022-09-27T21:25:50+02:00 (2 years ago)
Author:
Klumbumbus
Message:

fix #22397 - Warn about temporary image URLs starting with https://westnordost.de/p/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r18558 r18564  
    24022402}
    24032403
     2404/* temporary URLs, can be exteded to other websites and other keys e.g. "url" or "website", #22397 */
     2405*[image][image=~/^https:\/\/westnordost.de\/p\//] {
     2406  throwWarning: tr("{0} with a temporary URL which may be outdated very soon", "{0.key}");
     2407  fixRemove: "{0.key}";
     2408  assertMatch: "node image=https://westnordost.de/p/17484.jpg";
     2409  assertNoMatch: "node image=https://web.archive.org/web/20220623215400/https://westnordost.de/p/97331.jpg";
     2410  assertNoMatch: "node image=https://commons.wikimedia.org/wiki/File:2015-05-13_Basteibr%C3%BCcke-.jpg";
     2411}
     2412
    24042413/* When tags are deprecated they should be added to ignoretags.cfg too. */
Note: See TracChangeset for help on using the changeset viewer.