Closed Bug 677915 Opened 13 years ago Closed 13 years ago

Use one file for 5.0 and 5.0.1 whatsnew/firstrun pages

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sgarrity, Unassigned)

References

()

Details

The only difference between these two files:

en-US/firefox/5.0.1/whatsnew/index.html
en-US/firefox/5.0/whatsnew/index.html

is the version check adjustment for the Mac version.

We can probably handle that in one file and avoid all that code duplication.

Perhaps en-US/firefox/5.0.1/whatsnew/index.html can just be a PHP require of en-US/firefox/5.0/whatsnew/index.html once the logic is updated.
We can do the same for the firstrun pages - they are identical.
Summary: Use one file for 5.0 and 5.0.1 whatsnew pages → Use one file for 5.0 and 5.0.1 whatsnew/firstrun pages
As of r93586 in trunk, en-US/5.0.1/firstrun/index.html just does a PHP include of en-US/5.0/firstrun/index.html - they were identical files, character for character.
r93586 has already been pushed to production for Bug 670796 and the 5.x pages will be deprecated and replaced with the "Almost There" titled out-of-date page (Bug 677978). These pages will be removed, so there's no need to merge the files anymore.

WONTFIX'n my own bug...
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.