Changes between Version 1 and Version 24 of Rules


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Rules

    v1 v24  
    1 {{{
    2 #!comment
    3 Note for translators:
    4  - This note can be stripped from translation.
    5  - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page.
    6 }}}
    71[[TranslatedPages]]
    82
    93= JOSM Validator Rules =
    10 [[Image(source:trunk/images/dialogs/validator.png,middle,margin-right=20)]]
    11 The JOSM validator ([[Help/Validator/MapCSSTagChecker|Tag checker]]) can be customized with different rules based on [[Help/Styles/MapCSSImplementation|MapCSS]].
    12 
     4[[JOSMImage(dialogs/validator,middle,margin-right=20,48,link=)]]
     5The JOSM [wikitr:/Help/Dialog/Validator validator] ([wikitr:/Help/Validator/MapCSSTagChecker Tag checker]) can be customized with different rules based on [wikitr:/Help/Styles/MapCSSImplementation MapCSS].
    136
    147== Choose Rules ==
    15 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:
     8There 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
     11For 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.
     12The rest are the names of the table's header which should be translated.
     13See https://josm.openstreetmap.de/wiki/WikiMacros#Styles-macro
     14}}}
    1615
    1716[[Styles(en|rules|short description|author|description|version|More details)]]
    1817
    19 To add more rules to your list, open the [Help/Preferences/Validator Validator Preferences]: Edit -> Preferences -> [[Image(source:trunk/images/preferences/validator.png,15)]] Validator -> Tag Checker Rules (2nd tab))''
     18To add more rules to your list, open the [wikitr:/Help/Preferences/Validator Validator Preferences]: Edit -> Preferences -> [[JOSMImage(preferences/validator,top,15,link=)]] Validator -> Tag Checker Rules (2nd tab)''
    2019
    21 == Rules managed in JOSM wiki ==
    22 [[TitleIndex(Rules/)]]
     20== Create new rules ==
     21If you want to add your rules to this list use one of the two options:
     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].
     24If 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.
     27
     28=== Rules managed in JOSM wiki ===
     29JOSM wiki based Rules is the preferred method.
     30
     31[[TitleIndexTr(Rules/)]]
    2332
    2433----
    25 Back to [wiki:/Help main help]
     34Back to [wikitr:/Help main help]