Add search engine settings migration handling for Wikipedia engines that are to be renamed
Categories
(Firefox :: Search, task, P2)
Tracking
()
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [sng])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
We want to bring some of the titles for the Wikipedia search engines up to date so that they match the site and the site’s OpenSearch definition. This will unify prevent us showing the “Add new engine” option on the address and search bars. It will also unify the names with mobile.
Since Firefox 108 we have the settings indexed by the search engine identifier. However for upgrades from before then, we fallback to matching the name of the search engine. Therefore I think we should add handling to the existing migration to ensure those users can still migrate properly.
Once the migration has shipped, then we can do the update of search engine names in search-config-v2 which will be filed as a separate ticket.
The proposed renames are:
- wikipedia-hy “Wikipedia (hy)” → “Վիքիպեդիա (hy)”
- wikipedia-kn “Wikipedia (kn)” → “ವಿಕಿಪೀಡಿಯ (kn)”
- wikipedia-lv “Vikipēdija” → “Vikipēdija (lv)”
- wikipedia-no “Wikipedia (no)” → “Wikipedia (nb)”
- wikipedia-el “Wikipedia (el)” → “Βικιπαίδεια (el)”
- wikipedia-lt “Wikipedia (lt)” → “Vikipedija (lt)”
- wikipedia-my “Wikipedia (my)” → “ဝီကီပီးဒီးယား (my)”
- wikipedia-pa “Wikipedia (pa)” → “ਵਿਕੀਪੀਡੀਆ (pa)”
- wikipedia-pt “Wikipedia (pt)” → “Wikipédia (pt)”
- wikipedia-si “Wikipedia (si)” → “විකිපීඩියා (si)”
- wikipedia-tr “Wikipedia (tr)” → “Vikipedi (tr)”
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
For QA: The only way to really test this is with testing an upgrade to a build that has both the migration handling from this bug, and the remote settings changes in bug 1899574.
Without that, we would fail to trigger the new code. We can't release the remote settings changes until after the migration handling patch from this bug is out on release. Therefore, I am creating some try builds with the patch and the remote settings changes in.
Try builds: https://treeherder.mozilla.org/jobs?repo=try&revision=b720cd4d523356c8fed6754d2bc0c978f2e62cb3
To test them:
- Download a Firefox 107 build for one of the affected locales/wikipedias.
- On the Wikipedia search engine do one of:
a. Set up an alias
b. Hide it
c. Set it as default - "Upgrade" to the build from try server.
The settings in step 2 should be kept.
Assignee | ||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
bugherder |
Assignee | ||
Comment 5•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D212200
Updated•1 year ago
|
Comment 6•1 year ago
|
||
beta Uplift Approval Request
- User impact if declined: Users may loose settings when we rename some of the Wikipedia engines in future
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Note see comment 3 - this cannot be directly tested in a build, but needs an additional try build.
- Risk associated with taking this patch: Low
- Explanation of risk level: Affects only a few search engines.
- String changes made/needed: None
- Is Android affected?: no
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
QA is currently working on this. Unfortunately some issues were discovered while trying to test this:
- no beta builds earlier than 115 are available in the build directory archive. for e.g. here are the contents for 107.0b5 build folder.
- no localized try builds available, which ads considerable more steps to the verification and makes certain user changes unable to be verified (like default search engine).
- using LiveLanguageSwitch as a workaround makes the verification of the new search engine name unreliable
Comment 9•1 year ago
|
||
QA has finished testing the search engine rename for certain wikipedia locales. The results can be viewed here.
There are a few notes that need to be specified before moving forward with this:
- testing was only done using nightly 107.0a1 builds as there are no beta builds earlier than version 115 in the candidates archive
- testing was done using Live Language Switching as there were no localized try-builds available. This means that the tranzition for the upgrade was done by passing through the 'en-US' locale
- because only an 'en-US' upgrade is available, the case where Wikipedia is set as default search engine and kept as default search engine was excluded from testing scope
Assignee | ||
Comment 10•1 year ago
|
||
(In reply to Cristian Baica [:cbaica], Release Desktop QA from comment #9)
- because only an 'en-US' upgrade is available, the case where Wikipedia is set as default search engine and kept as default search engine was excluded from testing scope
There's a very small amount of users on versions prior to 107 and where the engine is Wikipedia, due to the complexity of managing the search engine upgrade to keep the default engine in this scenario, we decided it wasn't worth it in this instance (and some of the users are on older versions where they're unlikely to upgrade).
Comment 11•1 year ago
•
|
||
As discussed yesterday, we did a 107.0a1 hy-am update to 128.0a1 (try) on both win10 and mac 11 with no issues. For the kn locale, we couldn't find a build in the Nightly107 repository to update from, so we dropped that.
The case from comment 9 where the wikipedia default is not kept after the update is also reproducible with the above setup (wishful thinking checked!).
Description
•