Page MenuHomePhabricator

Options to translate no longer showing after editing the search query
Closed, ResolvedPublic

Description

After adding support to access machine translation from the language selector on mobile web (T363183), the "Language not found" view was adjusted to show the option to write a translation and, when available, the option to read a machine translation.

As illustrated in the video below, after searching for a language for which options are provided (Igbo), the search is extended with additional text that does not match any languages. As expected, the options are not provided after the modification. However, editing the text again to the original value (Igbo), remains with the option not showing.

This is illustrated in the video below:

Event Timeline

Pginer-WMF triaged this task as Medium priority.

Change #1052258 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX language searcher entrypoint: Show matching language autonyms

https://gerrit.wikimedia.org/r/1052258

Change #1052258 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX language searcher entrypoint: Show matching language autonyms

https://gerrit.wikimedia.org/r/1052258

The fix has been deployed and the task can be closed as done.

Screencast from en production wiki: