Page MenuHomePhabricator

Make Txikipedia search box point directly to the article if it exists
Open, MediumPublic

Description

When we make a search at Txikipedia (https://eu.wikipedia.org/wiki/Txikipedia:Azala) we are pointed to a search page with all the possible results, instead of behaving like the "normal" search box, which points directly to the wanted article.

Having a direct search would improve the UX for children, who would have difficulties to understand what they are seeing.

Event Timeline

There are basically two problems here to be solved:

  • The go feature ignores provided namespaces
  • The InputBox extension will not generate a form that uses the go feature if namespaces are provided (probably related to above).

Also this is important for T209327, as they want to search for help pages directly, without going to a page where everything is listed.

debt subscribed.

We'd need to think about how to implement this without causing too much of a stress on the system.

Do we have any news on this? Thanks!

I would like to know if this is possible.

I looked into it but the current "go" implementation makes this hard. Essentially with the current implementation we would have to issue hundreds of sequential queries (particularly in languages like zh that have 30 variants) to decide if we should send a user to a particular page, or if they should go to the search results. Essentially the entire feature needs to be reworked to do this in a way that doesn't slow down a thousand request per second.

Actually this is a very strange behaviour, because we have entered the prefix. Let's think in the people who is searching something in the help pages and gets a really weird search results page.

CBogen triaged this task as Medium priority.Aug 27 2020, 9:12 PM
Aklapper added a subscriber: EBernhardson.

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)

Well.. I'm unable to do this by myself. @EBernhardson had a solution, AFAIK.