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

Make new bedrock homepage live for only certain locales

RESOLVED FIXED

Status

www.mozilla.org
Bedrock
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: cmore, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kb=1143553] )

(Reporter)

Description

4 years ago
The new version of the www.mozilla.org homepage being tracked in bug 904696 will be pushed live with a different method than we have used before.

OH=old homepage
NHv1=new homepage version 1
NHv2=new homepage version 2

Current scenario:

OH:www.mozilla.org/en-US/
OH:www.mozilla.org/fr/

(no other locales live)

Upcoming scenario:

OH:www.mozilla.org/en-US/
NHv1:www.mozilla.org/en-US/?v=1
NHv2:www.mozilla.org/en-US/?v=2
NHv2:www.mozilla.org/fr/
NHv2:www.mozilla.org/br/
NHv2:www.mozilla.org/cs/
NHv2:www.mozilla.org/de/
NHv2:www.mozilla.org/el/
NHv2:www.mozilla.org/eo/
NHv2:www.mozilla.org/es-ES/
NHv2:www.mozilla.org/eu/
NHv2:www.mozilla.org/ga-IE/
NHv2:www.mozilla.org/is/
NHv2:www.mozilla.org/it/
NHv2:www.mozilla.org/ko/
NHv2:www.mozilla.org/mk/
NHv2:www.mozilla.org/rm/
NHv2:www.mozilla.org/sq/
NHv2:www.mozilla.org/sv-SE/
NHv2:www.mozilla.org/uk/
NHv2:www.mozilla.org/zh-TW/

Instead of specifying these 18 locales, can we just say something the following that matches anything that is not en-US or fr locales of the homepage? ^/(?!en-US|fr)/[^/\?]*$
(Reporter)

Updated

4 years ago
Depends on: 904696
Pushed the fix to the branch:

https://github.com/mozilla/bedrock/commit/3087073d3fcb626d297d5f44ac29488282438c25
(Reporter)

Comment 2

4 years ago
Actually, that regex is wrong since we want fr to also be live with v2.
Pushed activated home-b2.lang files to prod in r120617.
(Reporter)

Comment 4

4 years ago
Templates:

OH: home-a.html
NHv1: home-b1.html
NHv2: home-b2.html

OH:

/en-US/

NHv1:

/en-US/?v=1

NHv2:

/en-US/?v=2
/fr/
/br/
/cs/
/de/
/el/
/eo/
/es-ES/
/eu/
/ga-IE/
/is/
/it/
/ko/
/mk/
/rm/
/sq/
/sv-SE/
/uk/
/zh-TW/

Updated

4 years ago
Whiteboard: [kb=1143553]
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.