Changes between Version 160 and Version 161 of Presets


Ignore:
Timestamp:
2020-03-19T14:15:39+01:00 (6 years ago)
Author:
skyper
Comment:

fixed link; wikitr:

Legend:

Unmodified
Added
Removed
Modified
  • Presets

    v160 v161  
    1 ''If you want to learn installation steps for presets, see [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]]
    2 ''If you want to extend presets with your own see - [wiki:TaggingPresets TaggingPresets]''[[br]]
     1''If you want to learn installation steps for presets, see [wikitr:/Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]''[[br]]
     2''If you want to extend presets with your own see - [wikitr:/TaggingPresets TaggingPresets]''[[br]]
    33''If you want to publish a new item to the list below - [#PublishanewAvailablepresetsitem follow the instructions below the list]''
    44
     
    1010
    1111There are three types of Presets available to you in JOSM. Adding or removing any of these items requires restarting JOSM.
    12 1. The **Internal Preset** list, defined in [https://josm.openstreetmap.de/browser/trunk/data/defaultpresets.xml defaultpresets.xml], is the default set of presets available in the JOSM [https://josm.openstreetmap.de/wiki/Help/Menu/Presets Presets] menu. Changes to the Internal Presets requires modification of the JOSM source code.
    13 2. JOSM user-community created (and published) **Available presets**, which can be enabled through the [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]. The full list of these Available presets, and how to publish a new one you create, appears below.
    14 3. **Custom Tagging Presets** files, for cases where you want to use customized Presets but they are not published to JOSM as an Available preset. Customized presets can be added through the [Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings] menu, either by URL, or by filename on your local filesystem. The format of a Custom Tagging Presets .xml file appears at [wiki:TaggingPresets TaggingPresets].
     121. The **Internal Preset** list, defined in [source:/trunk/resources/data/defaultpresets.xml defaultpresets.xml], is the default set of presets available in the JOSM [wikitr:/Help/Menu/Presets Presets] menu. Changes to the Internal Presets requires modification of the JOSM source code.
     131. JOSM user-community created (and published) **Available presets**, which can be enabled through the [wikitr:/Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings]. The full list of these Available presets, and how to publish a new one you create, appears below.
     141. **Custom Tagging Presets** files, for cases where you want to use customized Presets but they are not published to JOSM as an Available preset. Customized presets can be added through the [wikitr:/Help/Preferences/Map#TaggingPresets "Tagging Presets" tab in Preferences > Map Settings] menu, either by URL, or by filename on your local filesystem. The format of a Custom Tagging Presets .xml file appears at [wikitr:/TaggingPresets TaggingPresets].
    1515
    1616= JOSM Available presets =
     
    1818
    1919== Publish a new Available presets item ==#Createnewpresets
    20 See [wiki:TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it!
     20See [wikitr:/TaggingPresets] for the syntax of customized preset files. Be sure to validate a preset file before publishing it!
    2121{{{
    2222#!comment
     
    2828 * i.e. go to https://josm.openstreetmap.de/wiki/Presets/MyPresetName (Change the URL so it matches the name of your preset. Change only the last part after `...Presets/`.)
    2929 * click 'create this page'
    30  * add content similar to existing preset wikis, e.g. [wiki:Presets/OneClick]
     30 * add content similar to existing preset wikis, e.g. [wikitr:/Presets/OneClick]
    3131 * don't forget to enclose your preset code by a code block (`#!preset` needs to be on a new line after `{{{`):
    3232  * `{{{`
     
    4343  * this is required for an automatic update within JOSM
    4444=== Externally hosted Available preset ===
    45 * A new externally hosted preset URLs can be published by editing [[PresetsSource|this page]].
     45* A new externally hosted preset URLs can be published by editing [wiki:PresetsSource this page].
    4646 * **Note**: Only URLs with file-extension (e.g. *.mapcss, *.xml, *.zip, *.php) are supported.
    4747
    48 See [wiki:Styles#CreateStyle] for a description how the JOSM wiki helps to create own styles or presets and how attached files and icons are handled.
     48See [wikitr:/Styles#CreateStyle] for a description how the JOSM wiki helps to create own styles or presets and how attached files and icons are handled.
    4949
    5050
    5151== Updating Available presets in JOSM ==
    5252Once an Available preset is published, it can take up to 10 days until the item appears in JOSM automatically. To immediately force an update you can perform the following steps:
    53 * Make sure [wiki:Help/ExpertMode Expert Mode] is enabled
    54 * Open the [wiki:Help/Action/Preferences Preferences]
    55 * Open the [wiki:Help/Preferences/Advanced Advanced Preferences]
     53* Make sure [wikitr:/Help/ExpertMode Expert Mode] is enabled
     54* Open the [wikitr:/Help/Action/Preferences Preferences]
     55* Open the [wikitr:/Help/Preferences/Advanced Advanced Preferences]
    5656* Search for keys starting with: `mirror.https://josm.openstreetmap.de/josmfile?page_Presets/` (or `mirror.` for other external sources)
    5757* Select the preset you want to update
     
    6666
    6767----
    68 Back to [wiki:/Help main help][[BR]]
    69 Back to [wiki:Help/Menu/Presets Presets menu]
     68Back to [wikitr:/Help main help][[BR]]
     69Back to [wikitr:/Help/Menu/Presets Presets menu]