Closed Bug 346689 Opened 15 years ago Closed 14 years ago

custom/localizable URLs for extensions, themes, plugins, search-engines

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: phil, Unassigned)

Details

(Keywords: late-l10n)

In bug 343076, a decision was made for a custom, localizable dictionaries URL (http://addons.mozilla.org/$locale/$appname/$appversion/dictionaries/)

We also have client URLs for plugins, extensions, and themes, and shaver would like something similar for those.

The client is getting locked down with great speed; we should pick a URL format soon, so we can give guidance to localizers.  In the short term, all locales and versions could redirect to

https://pfs.mozilla.org/plugins/
https://addons.mozilla.org/extensions/?application=$appname and
https://addons.mozilla.org/themes/?application=$appname

respectively, just so users don't get 404s.
$appname or $GUID? 

ie. What happens when I come along with Bon Echo/Minefield/etc.?

etc. 
appname, and we'll hardcode "firefox": http://lxr.mozilla.org/mozilla/source/browser/app/profile/firefox.js#80

All the entry points should be declared in prefs, so that distributors (corporate and partners) can change them if needed.
(In reply to comment #2)
> $appname or $GUID? 
> 
> ie. What happens when I come along with Bon Echo/Minefield/etc.?

$appname.  But Bon Echo and Minefield have the same $GUID as well, so I'm not sure what exactly you're getting at.  $appversion will distinguish those cases.
Looks like we also need a URL that takes us to a more general front page:

http://addons.mozilla.org/$locale/$appname/$appversion/add-ons/
Until the new site is live and localizable, I'm going to ask Wil to redirect everything to our existing English content, so we can update the URLs in the client immediately.

I'm proposing these, or a high-performance equivalent of his choosing:

RedirectMatch /.*/firefox/.*/themes/ /themes/
RedirectMatch /.*/firefox/.*/extensions/ /extensions/
RedirectMatch /.*/firefox/.*/plugins/ https://pfs.mozilla.org/plugins/
RedirectMatch /.*/firefox/.*/search-engines/ http://www.mozilla.org/products/firefox/add-engines.html
RedirectMatch /.*/firefox/.*/add-ons/ /?application=firefox

Please speak up if these do not meet with your approval.

Axel: if there are any locales that did their own localization for parts of AMO, then we should probably redirect to those instead.  Are there?
(In reply to comment #6)
> Until the new site is live and localizable, I'm going to ask Wil to redirect
> everything to our existing English content, so we can update the URLs in the
> client immediately.
> 
> I'm proposing these, or a high-performance equivalent of his choosing:
> 
> RedirectMatch /.*/firefox/.*/themes/ /themes/
> RedirectMatch /.*/firefox/.*/extensions/ /extensions/

Please make the application explicit in the the redirect target there, through ?application=firefox if you'd like.

> RedirectMatch /.*/firefox/.*/add-ons/ /?application=firefox
(In reply to comment #6)
> Until the new site is live and localizable, I'm going to ask Wil to redirect
> everything to our existing English content, so we can update the URLs in the
> client immediately.
> 
> I'm proposing these, or a high-performance equivalent of his choosing:
> 
> RedirectMatch /.*/firefox/.*/plugins/ https://pfs.mozilla.org/plugins/
> 
> Please speak up if these do not meet with your approval.
> 

The plugins page is on addons.mozilla.org now.

We're so done here.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.