Modify

Opened 15 months ago

Last modified 15 months 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 in reply to:  description Changed 15 months ago by Klumbumbus

For styles and rules you can use @supports. For presets there is no such feature yet afaik.

Replying to skyper:

I know that I can use min_version and max_version.

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"

comment:2 Changed 15 months ago by skyper

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain stoecker.
as The resolution will be set.
to The owner will be changed from stoecker to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from stoecker to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.