Search keyword is not consistent with localized Wikipedia search engine name
Categories
(Firefox :: Search, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | fixed |
firefox131 | --- | fixed |
firefox132 | --- | fixed |
firefox133 | --- | fixed |
People
(Reporter: mstanke, Assigned: mbeier)
References
Details
(Keywords: papercut, Whiteboard: [sng-scrubbed][search-papercut])
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
8.82 KB,
image/png
|
Details |
The Wikipedia has a search keyword @wikipedia in Firefox, however in Czech the name is Wikipedie (see the logo in the top left https://cs.wikipedia.org/wiki/Hlavn%C3%AD_strana) and so the keyword should match the name.
Reporter | ||
Comment 1•4 years ago
|
||
Flod, are the keywords hardcoded, or can they be changed per locale, please?
Also I noticed not all search engines that ship with Czech Firefox by default have keyword configured by default. Is that desired to have the keywords only for the most prominent engines, or shall we provide keywords for all engines?
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
As far as I know, they're hard-coded. Not sure if Mark knows more about them, and if the issue was already considered, or can redirect the question.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
I just checked, we'd be alright to add localised versions for Wikipedia.
I think the best way would be to change the keyword definition into an array, which contains a string that we localise per locale in a similar way to the name, and the standard English string.
We'd need a small fix to de-dupe the aliases for the English locale, but otherwise I think that would work.
Comment 4•2 years ago
|
||
We cant translate https://searchfox.org/mozilla-central/source/browser/components/search/extensions/ddg/manifest.json#20 directly. may need to turn into comma seperate string
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•1 year ago
|
||
We're going to look at fixing this just after, or maybe as part of, our search configuration redesign work.
Updated•1 year ago
|
Comment 6•2 months ago
|
||
For all the Wikipedias it seems it would be reasonable to end up with:
- A keyword for the English name
wikipedia
- Where different: a keyword for the localised name
The localised keyword one should come first and then the English keyword.
Assignee | ||
Comment 7•2 months ago
|
||
Updated•2 months ago
|
Assignee | ||
Comment 8•2 months ago
|
||
Assignee | ||
Updated•2 months ago
|
Comment 10•2 months ago
|
||
bugherder |
Assignee | ||
Comment 11•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D224218
Updated•1 month ago
|
Comment 12•1 month ago
|
||
beta Uplift Approval Request
- User impact if declined: Needed for new remote settings config, otherwise this test will fail.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: only changes in a test
- String changes made/needed: no
- Is Android affected?: no
Assignee | ||
Comment 13•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D224218
Updated•1 month ago
|
Comment 14•1 month ago
|
||
esr128 Uplift Approval Request
- User impact if declined: Needed for new remote settings config, otherwise this test will fail.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: only changes a test
- String changes made/needed: no
- Is Android affected?: no
Assignee | ||
Comment 15•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D224218
Updated•1 month ago
|
Comment 16•1 month ago
|
||
release Uplift Approval Request
- User impact if declined: Needed for new remote settings config, otherwise this test will fail.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: n/a
- Risk associated with taking this patch: low
- Explanation of risk level: only changes a test
- String changes made/needed: no
- Is Android affected?: no
Assignee | ||
Comment 17•1 month ago
|
||
The updated config is on staging now. It should add the localized keywords to all locales where the local name is not Wikipedia (e.g. typing @wikipedie in the urlbar in cs locale should set the searchmode to Wikipedia). It should also work with RTL locales and the english @wikipedia should still work for all locales.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 18•1 month ago
|
||
uplift |
Comment 19•1 month ago
|
||
uplift |
Comment 20•1 month ago
|
||
uplift |
Updated•1 month ago
|
Comment 21•1 month ago
•
|
||
The issue is verified fixed using Fx 133.0a1, Fx 132.0b5, Fx 131.0.2 and Fx 128.3.1ESR on Windows 11, Ubuntu 24 and macOS with RS set to Staging.
Wikipedia searchmode is correctly launched when inputing the localized alias or the english alias of the engine. The testing results can be viewed here.
A note worthy of mention here is that the BE locale has 2 wikipedia engines localized in be and be-tarask. Typing the localized string has no issue and launches the correct and expected wikipedia searchmode. Problem arises with the obvious conflict, both engines have the english alias and when typing @wikipedia launches the be-tarask wikipedia searchmode.
Assignee | ||
Comment 22•1 month ago
|
||
Thank you very much for checking this. I removed the @wikipedia alias from be-tarask and the changes are now on staging (in review). Mark suggested this since the user can still edit the aliases.
Comment 23•1 month ago
|
||
Confirming that be-tarask no longer has the @wikipedia alias, but the localized alias for be-tarask still works and now the @wikipedia correctly goes in the BE locale wikipedia searchmode.
From a QA standpoint this is ready for PROD push.
Assignee | ||
Comment 24•1 month ago
|
||
Thanks, the changes are now on production.
Updated•12 days ago
|
Description
•