Page MenuHomePhabricator

Support linking to the search step
Closed, ResolvedPublic

Description

Section translation allows to start a translation by searching a specific article to translate. This can be a useful integration point for other external tools or a step for users to bookmark or share a link. However, it is not possible to link to this step directly.

The search step updates the url in the browser but such url cannot be used to access the search step directly. For example, the following url leads to the dashboard instead of the search step: https://test.m.wikipedia.org/wiki/Special:ContentTranslation#/sx/article-search

The expected result would be for the above url to lead to the search step where users can start searching for an article to translate right way without additional taps.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedngkountas
DuplicateNone
Resolvedngkountas
Resolvedngkountas
ResolvedBUG REPORTngkountas
Resolvedngkountas
Resolvedngkountas
Resolvedsanthosh
Resolvedngkountas
Resolvedsanthosh
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
Resolvedsanthosh
Resolvedngkountas
ResolvedPginer-WMF
Resolvedeamedina
ResolvedBUG REPORTngkountas
Resolvedsanthosh
DeclinedNone
ResolvedPginer-WMF
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
ResolvedBUG REPORTngkountas
Resolvedngkountas
Resolvedngkountas
ResolvedWangombe
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
Resolvedngkountas
ResolvedWangombe
ResolvedBUG REPORTPginer-WMF
Resolvedngkountas
OpenNone
Resolvedhueitan
Resolvedngkountas
Resolvedngkountas
Resolvedeamedina

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SXArticleSearch: Support navigation to search through external URL

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

Change 697947 merged by Nik Gkountas:

[mediawiki/extensions/ContentTranslation@master] SXArticleSearch: Support navigation to search through external URL

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

Jpita subscribed.

should we have something like

sx/article-search?q=search+query

in the future?

@Pginer-WMF

should we have something like

sx/article-search?q=search+query

in the future?

@Pginer-WMF

I think it makes sense to support it. We have a ticket (T260143) for linking to a specific section (and article). If only the article is provided, it makes sense to select it. If there is no exact match for the article, it makes sense to show the search step with the query.

The general idea is to let external tools provide as much info as they can provide to pre-fill the process and let the user continue from there.

I tried the link in the description and it opened the search step, but taping on the "close" icon was not working. It seems to update the URL to the dashboard but the navigation is not completed. In the video below, I show the process, refreshing ht e final url manually at the end to reach the dashboard:

I tried the link in the description and it opened the search step, but taping on the "close" icon was not working. It seems to update the URL to the dashboard but the navigation is not completed. In the video below, I show the process, refreshing ht e final url manually at the end to reach the dashboard:

adding to this: if u click a second time after the URL is changed, then it goes back to the dashboard