Changeset 5771 in josm for trunk


Ignore:
Timestamp:
2013-03-10T11:20:12+01:00 (12 years ago)
Author:
simon04
Message:

Move sport=gaelic_football to DeprecatedTags validator test

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/tagchecker.cfg

    r5685 r5771  
    5252*    : W : highway == road                                     # temporary highway type
    5353*    : W : / *name */i == * && name != *                       # misspelled key name
    54 *    : W : sport == gaelic_football                            # gaelic_football was replaced by gaelic_games
    5554
    5655# The following could replace unnamed way check. Still at the moment we keep it as it is
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DeprecatedTags.java

    r5742 r5771  
    7272                test("power_rating").
    7373                alternative("generator:output"));
    74         // from http://wiki.openstreetmap.org/wiki/Tag:shop%3Dorganic
     74        // from http://wiki.openstreetmap.org/wiki/Tag:shop=organic
    7575        checks.add(new DeprecationCheck(2114).
    7676                testAndRemove("shop", "organic").
     
    8585                testAndRemove("amenity", "emergency_phone").
    8686                add("emergency", "phone"));
     87        // http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football
     88        // fix #8132
     89        checks.add(new DeprecationCheck(2117).
     90                testAndRemove("sport", "gaelic_football").
     91                add("sport", "gaelic_games"));
    8792    }
    8893
Note: See TracChangeset for help on using the changeset viewer.