Closed Bug 991360 Opened 10 years ago Closed 10 years ago

Redirection error (404) in Add-on SDK page (https://addons.mozilla.org/en-US/developers/tools/builder)

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)

All
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED
2014-07

People

(Reporter: mtdsousa, Assigned: clouserw)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: 28 Branch
 Technical Contact: 

:: Details

In the page, in the link ("Extensive Documentation"), has an error: The Redirect happens to a page that doesn't exist (https://developer.mozilla.org/pt-BR/Add-ons/SDK).

I hope that that be useful.
Thanks for the report. I'm not sure what's going wrong here, exactly. I think (assume) that if a page doesn't exist for a particular locale then you should get the default version. I'm reassigning to the Mozilla Developer Network product, which should have more insight.
Assignee: wbamberg → nobody
Component: Add-ons → Localization
Product: Developer Documentation → Mozilla Developer Network
Were you originally on a translated page when this error occurred??
Flags: needinfo?(mtdsousa)
Priority: P5 → P3
I saw the page on originally (in English). First, the link (in https://addons.mozilla.org/en-US/developers/tools/builder) points to [https://developer.mozilla.org/Add-ons/SDK] but appear that this link redirects to [https://developer.mozilla.org/pt-BR/Add-ons/SDK] that appears like "Not Found".
Flags: needinfo?(mtdsousa)
The bug is in addons.mozilla.org. Only they can fix the bad UX there.

They should have linked to https://developer.mozilla.org/en-US/Add-ons/SDK and not https://developer.mozilla.org/Add-ons/SDK because the user has already done a choice on their side.

Not doing this force the MDN to "guess" what language the user expect. We do this using the Accept-language headers, but this doesn't tell us what the user really want: merely that he is using a browser with a UI in pt-BR. This is needed, but is only a fallback.

That's why, inside MDN, we try to always use the locale in the link: don't overrule an explicit choice.
Product: Mozilla Developer Network → addons.mozilla.org
AMO is a separate site with a separate set of languages.  It's entirely possible they fell back to en-US on AMO and would rather have pt-BR (or any other language that MDN could offer and AMO could not).

Further, this URL is going to be in the middle of localized content as a placeholder which means AMO couldn't link to a specified language anyway. eg. https://github.com/mozilla/olympia/blob/master/locale/en_US/LC_MESSAGES/messages.po#L4170
Product: addons.mozilla.org → Mozilla Developer Network
The bug is on AMO. We can't do anything. I'm closing the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Product: Mozilla Developer Network → addons.mozilla.org
Resolution: --- → WONTFIX
https://developer.mozilla.org/pt-BR/docs/Mozilla/Add-ons/SDK does exist, the issue is that https://developer.mozilla.org/pt-BR/Add-ons/SDK doesn't redirect to that.

This was already reported, that's bug 933496

The workaround on the AMO side is to use https://developer.mozilla.org/docs/Mozilla/Add-ons/SDK (basically find the "canonical" link without the language part - I found this one by looking at the breadcrumbs on the english page, replacing "en-US" by "docs", adding "Mozilla/" because it was in the breadcrumbs, and it worked)

We should look for other MDN links to apply this workaround to in AMO.
Status: RESOLVED → REOPENED
Component: Localization → Developer Pages
Ever confirmed: true
Resolution: WONTFIX → ---
Good catch Mathieu.  This is definitely an MDN bug, but it's easiest just to change the link: https://github.com/mozilla/olympia/commit/2ac36c990c054b2f61d6b7d09b536b2bef90b4f3
Assignee: nobody → clouserw
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Whiteboard: c=Addons u=mozdev p=0
Target Milestone: --- → 2014-07
Verified as fixed in https://addons-dev.allizom.org/en-US/developers/tools/builder on FF30 (Win 7)
The link now redirects to https://developer.mozilla.org/docs/Mozilla/Add-ons/SDK
Closing bug.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.