Changes between Initial Version and Version 1 of Rules/SourceObjectTag


Ignore:
Timestamp:
2020-11-13T16:07:39+01:00 (2 months ago)
Author:
gileri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Rules/SourceObjectTag

    v1 v1  
     1{{{
     2#!rule
     3meta
     4{
     5    title: "Source object tag";
     6    version: "1.[[revision]]_[[date]]";
     7    description: "Warn of source tags on objects that are obsolete, or will be in future edits";
     8    author: "gileri";
     9    link: "https://josm.openstreetmap.de/wiki/Rules/SourceObjectTag";
     10    baselanguage: "en";
     11    min-josm-version: 14481;
     12}
     13
     14node[source]:modified,
     15way[source]:modified,
     16relation[source]:modified {
     17    throwWarning: tr("Modified object with a source tag");
     18    fixRemove: "source";
     19}
     20
     21node:modified < way[source],
     22node:modified < relation[source],
     23way:modified < relation[source],
     24relation:modified < relation[source] {
     25    throwWarning: tr("Modified child of an objet with source tag");
     26    fixRemove: "source";
     27}
     28}}}