Changeset 18524 in josm


Ignore:
Timestamp:
2022-07-25T16:36:06+02:00 (21 months ago)
Author:
taylor.smock
Message:

Fix #22120: Add 'school=entrance' to deprecation warnings

The number of school=entrance tags reached its peak in 2014 (1),
and has since started to see a decrease in usage. At its height,
there were about 1,700 uses of school=entrance.

(1) taginfo:tags/school=entrance#chronology

Location:
trunk/resources/data/validator
Files:
2 edited

Legend:

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

    r18519 r18524  
    23742374}
    23752375
     2376/* #22120 */
     2377*[school=entrance] {
     2378  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2379  suggestAlternative: "entrance=yes";
     2380  suggestAlternative: "entrance=main";
     2381  group: tr("deprecated tagging");
     2382}
     2383
    23762384/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r18519 r18524  
    726726K:substance=heat
    727727K:surface=decoturf
     728K:school=entrance
    728729;
    729730; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.