If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Make it possible to use "greater than" and "less than" in FOR structures

RESOLVED WORKSFORME

Status

support.mozilla.org
Knowledge Base Software
RESOLVED WORKSFORME
7 years ago
3 years ago

People

(Reporter: Thomas Schwecherl, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
To work more efficiently with FOR structures it would be nice to have the possibility to use "greater than" and "less than" in combination with Firefox version numbers, e.g.

{for linux,<fx4}{/for}
means "up to fx4" (... fx2, fx3, fx35, fx4)

{for linux,>fx4}{/for}
means fx4 and newer versions (fx4, fx5, ...)
Mike or Joni, I don't remember how the current showfor works anymore (haven't touched KB in a while).. Do we have something in place as mentioned in comment 0?
Hi, Thomas and Andrew.

We have system in place for "greater than" and "less than". Everything is "greater than" unless you use "NOT" in the code. Examples:

{for not fx5}  means "up to fx4"

{for =fx5} means "only fx5"

{for fx5} means "fx 5 and higher"

Thomas, is that what you had in mind?
Resolving as WFM. Please reopen if you think otherwise.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.