Opened 4 years ago
Last modified 4 years ago
#20667 new enhancement
How to handle external presets/rules/styles on the wiki for different JOSM versions?
Reported by: | skyper | Owned by: | stoecker |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Trac | Version: | |
Keywords: | max min version external style preset rule | Cc: |
Description
Some nice enhancement for external presets were added recently, like r17662.
I know that I can use min_version
and max_version
but how can I nicely handle this situation on trac without creating a new page, e.g. a new preset/rule/style.
I want to keep the history and an easy and smooth upgrade for the user.
Is it possible to add two code blocks, one with max_version
and one with min_version
?
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Thanks, well it is only about presets, then.
So far, I thought min_version
and max_version
in meta
are evaluated before loading, but I have to check this.
For styles and rules you can use @supports. For presets there is no such feature yet afaik.
Replying to skyper:
Do you mean in the
meta
section of e.g. styles? I don't know if that is even evaluated or "just for -human readable- information"