Closed
Bug 664521
Opened 14 years ago
Closed 7 years ago
Correct URL for update check link in about:plugins
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Natch, Unassigned)
References
()
Details
(Keywords: intl)
Attachments
(1 file, 3 obsolete files)
|
3.51 KB,
patch
|
Gavin
:
review-
|
Details | Diff | Splinter Review |
The URL for the link in about:plugins is mozilla.com/plugincheck missing the locale (e.g. en-US) part.
Attached is a patch for this.
Attachment #539604 -
Flags: review?(gavin.sharp)
| Reporter | ||
Updated•14 years ago
|
Product: Firefox → Toolkit
QA Contact: general → general
Comment 1•14 years ago
|
||
Why is this a problem? mozilla.com does locale auto-detection, so this should be working fine.
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> Why is this a problem? mozilla.com does locale auto-detection, so this
> should be working fine.
It does work, this just aligns the url with the common preffed url. I don't think this is highly important, although I can't speak of the differences between inserting %LOCALE% in a url or just allowing the website to redirect as it deems fit.
E.g. what if someone manually changes the locale, does mozilla.com detect that?
| Reporter | ||
Comment 3•14 years ago
|
||
Also, this will help if an addon changes the preffed url to its own plugin check page.
Comment 4•14 years ago
|
||
Axel may be able to comment on what we should prefer (explicit locale insertion vs. relying on the redirect), but AFAIK we currently do both, somewhat inconsistently.
| Reporter | ||
Comment 5•14 years ago
|
||
Messed up the switch, this version fixes that.
Built and tested.
Assignee: nobody → highmind63
Attachment #539604 -
Attachment is obsolete: true
Attachment #539604 -
Flags: review?(gavin.sharp)
Attachment #539703 -
Flags: review?(gavin.sharp)
Comment 6•14 years ago
|
||
I think we should do locale detection based on accept-lang, and no hard-coded locale code in the url.
| Reporter | ||
Comment 7•14 years ago
|
||
This should do then. Fixes it in all locations...
Attachment #539703 -
Attachment is obsolete: true
Attachment #539703 -
Flags: review?(gavin.sharp)
Attachment #539831 -
Flags: review?(gavin.sharp)
Attachment #539831 -
Flags: feedback?(l10n)
| Reporter | ||
Comment 8•14 years ago
|
||
Michael, I think this bug may interest you (unless I'm cc'ing the wrong person). Do you do mozilla website stuff?
Comment 9•14 years ago
|
||
Comment on attachment 539831 [details] [diff] [review]
patch
Looks OK, I'm explicitly not doing a review, though.
Attachment #539831 -
Flags: feedback?(l10n) → feedback+
Comment 10•14 years ago
|
||
(In reply to comment #8)
> Do you do mozilla website stuff?
Nope.
Comment 11•14 years ago
|
||
Comment on attachment 539831 [details] [diff] [review]
patch
You could put the Services.jsm import at the top of the file and then use Services.strings for the string bundles.
If you're going to depend on a product-specific pref, you probably should do a better job of handling it not existing, e.g. by not showing that link (formatURLPref returns "about:blank" in those cases). I suppose other users of that pref don't do this properly, but they probably should.
Attachment #539831 -
Flags: review?(gavin.sharp) → review-
| Reporter | ||
Comment 12•14 years ago
|
||
(In reply to comment #10)
> (In reply to comment #8)
> > Do you do mozilla website stuff?
>
> Nope.
Don't know who does then...
New patch coming soon!
| Reporter | ||
Comment 13•14 years ago
|
||
Review comments addressed.
Attachment #539831 -
Attachment is obsolete: true
Attachment #543850 -
Flags: review?(gavin.sharp)
Comment 14•14 years ago
|
||
Comment on attachment 543850 [details] [diff] [review]
patch v2
This dissociates the link value from the link label, which doesn't seem ideal. I think we probably should just WONTFIX this and leaves things hardcoded in two places (but just change the pref so that they use the same URL).
Attachment #543850 -
Flags: review?(gavin.sharp) → review-
Comment 15•14 years ago
|
||
Can we generate the label programmatically instead?
I don't feel too great about the other two links, too, but that's probably outside the scope of this bug.
| Reporter | ||
Comment 16•14 years ago
|
||
I'm not sure I'm following the issue here, is it that we're removing the link value from the .properties file (hence "disassociating" it from the link label)? By "generate the label programmatically" do you mean to take a substring of the url as the label?
I'm open to whatever is desired here, if WONTFIX is the ultimate decision, that's fine too.
Comment 17•14 years ago
|
||
(In reply to comment #16)
> I'm not sure I'm following the issue here, is it that we're removing the
> link value from the .properties file (hence "disassociating" it from the
> link label)?
Yes - someone may not realize that changing one involves changing the other.
If you want to fix the broader issue, we could move all of the URLs to prefs, and remove the string labels and generate the label programmatically based on the URL, as Axel suggests. But I'm not sure it's really worth the trouble.
| Reporter | ||
Comment 18•14 years ago
|
||
(In reply to Gavin Sharp from comment #17)
Ok, reassigning to default.
Assignee: highmind63 → nobody
Comment 19•12 years ago
|
||
This bug can probably be marked as INVALID per bug #845022
Comment 20•12 years ago
|
||
about:plugins and about:addons still link to different urls for teh plugin checker.
Comment 21•7 years ago
|
||
I can't find that URL in the current base, and about:plugins seems to point to support now (if I read correctly). I think we can close this.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•