Closed Bug 482342 Opened 15 years ago Closed 15 years ago

add browser=firefox3.5 support to SHOWFOR

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cilias, Assigned: ecooper)

References

Details

(Whiteboard: sumo_only showfor)

Attachments

(1 file)

Firefox 3.1 is being reversioned to 3.5, so we need {SHOWFOR(browser=firefox3.5)} to work. It should also be included in browser=firefox3.
Important that firefox3.1 is still kept though; otherwise we'll need to update all KB articles at the same time as we push this live. Better to support both.
Blocks: 482343
So, 3.1 (firefox3.1) should become an alias to 3.5 (firefox3.5)?

That's not a problem.
Exactly right. And no, likely not a problem. Let's just do it! ;)
Target Milestone: --- → 1.0.1
Assignee: nobody → smirkingsisyphus
This adds showfor support for 3.5. 

With this patch, 3.1 becomes an alias for 3.5. So, any showfor blocks currently using ff3.1, fx3.1, or firefox3.1 will show up for 3.5. firefox3, ff3, and fx3 content will show up for 3.5 just like it did for 3.1 as well. Oh, firefox3.5 is usable too, of course.

Chris/David does that sound about right?

I also took the opportunity to refactor some of the original showfor code to make it a slightly more maintainable.
Attachment #370331 - Flags: review?(laura)
That sounds right.

Your "I also took the opportunity to refactor some of the original showfor code" concerns me.  But I'll leave that for a code reviewer.
Attachment #370331 - Flags: review?(laura) → review+
r24101/r24102
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED; 3.5 detection works, and we're testing the variants over in bug 482347.
Status: RESOLVED → VERIFIED
Whiteboard: sumo_only showfor
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: