| 8 | | There are base rules (e.g. [source:trunk/data/validator/geometry.mapcss Geometry] or [source:trunk/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: |
| | 8 | There are base rules (e.g. [source:/trunk/resources/data/validator/geometry.mapcss Geometry] or [source:/trunk/resources/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: |
| | 9 | |
| | 10 | {{{#!comment |
| | 11 | For following macro, [[Styles]], the first argument is a language code which needs to be adjusted in translation and the second is the type, "rules" (for Rules), which should remain unchanged. |
| | 12 | The rest are the names of the table's header which should be translated. |
| | 13 | See https://josm.openstreetmap.de/wiki/WikiMacros#Styles-macro |
| | 14 | }}} |
| 16 | | * Simply create a page in this wiki with your rule, e.g. [wikitr:Rules/MyRuleName]. This is similar to [wikitr:Styles#Makeyourstyleavailabletootherusers Styles] and [wikitr:Presets#Createnewpresets Presets]. See there for more information about this topic. |
| 17 | | * Externally hosted rule URLs can be entered when editing the [wikitr:RulesSource RulesSource page]. |
| 18 | | * If your rule applies to a limited area, use [wikitr:Help/Styles/MapCSSImplementation#Territoryselector Territory selectors], to limit the execution to the area. |
| | 22 | * Simply create a page in this wiki with your rule, e.g. [wikitr:/Rules/MyRuleName]. This is similar to [wikitr:/Styles#Makeyourstyleavailabletootherusers Styles] and [wikitr:/Presets#Createnewpresets Presets]. See there for more information about this topic. |
| | 23 | * Externally hosted rule URLs can be entered when editing the [wiki:/RulesSource RulesSource page]. |
| | 24 | If your rule applies to a limited area, use [wikitr:/Help/Styles/MapCSSImplementation#Territoryselector Territory selectors], to limit the execution to the area. |
| | 25 | |
| | 26 | **Note**: The [/jenkins/job/JOSM-Integration/ JOSM-Integration test] will run on all rules and report problems. |