Page MenuHomePhabricator

Tweak Autocomplete search results on the Mongolian Wikipedia
Closed, ResolvedPublic1 Estimated Story PointsFeature


Feature summary (what you would like to be able to do and where):
Autocomplete search results on the Mongolian Wikipedia should show more results. Due to Mongolian names having the structure "LastName FirstName", and everyone being referred to by their FirstName exclusively, when people search for figures by their FirstName, no results show up

For example, Мөрдорж is a well-known composer, but nothing is shown in the results:

image.png (449×814 px, 126 KB)

Users need to click-through and get the results, where it is there at #1

image.png (397×682 px, 67 KB)

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Searching for a person on the Mongolian Wikipedia doesnt provide me with anything in the autocomplete results much of the time.

Benefits (why should this be implemented?):

Tweaking these search results would improve many users' user experience by halving the amount of clicks they need to get info. Also the current state portrays the Mongolian Wikipedia as having fewer articles.

Event Timeline

If I'm not mistaken mn wikipedia does use defaultsort, and for instance the page Лувсанжамбын Мөрдорж does have a default sort set to Мөрдорж, Лувсанжамбын. Several years ago we worked on adding suggestions based on defaultsort to solve this exact same issue (see T134978 and T145427), there was no consensus in whether this approach would benefit all the wikis so we de-prioritized this work. I'd be tempted to try to enable this feature for this wiki unless there are strong reasons not to.

I don't see why not (unless it breaks everything), that sounds like a great solution!

MPhamWMF set the point value for this task to 1.Feb 6 2023, 4:57 PM

Change 888178 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/mediawiki-config@master] [cirrus] enable CirrusSearchCompletionSuggesterUseDefaultSort on mnwiki

Change 888178 merged by jenkins-bot:

[operations/mediawiki-config@master] [cirrus] enable CirrusSearchCompletionSuggesterUseDefaultSort on mnwiki

Mentioned in SAL (#wikimedia-operations) [2023-02-13T14:37:46Z] <lucaswerkmeister-wmde@deploy1002> dcausse and lucaswerkmeister-wmde: Backport for [[gerrit:888178|[cirrus] enable CirrusSearchCompletionSuggesterUseDefaultSort on mnwiki (T327878)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1001.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-02-13T14:47:24Z] <lucaswerkmeister-wmde@deploy1002> Finished scap: Backport for [[gerrit:888178|[cirrus] enable CirrusSearchCompletionSuggesterUseDefaultSort on mnwiki (T327878)]] (duration: 11m 18s)

Mentioned in SAL (#wikimedia-operations) [2023-02-13T15:22:00Z] <dcausse> T327878: rebuilding CirrusSearch completion index on mnwiki from mwmaint1002

@chinneeb the change is applied to, typing Мөрдорж does seem to suggest Лувсанжамбын Мөрдорж first now. Please let us know if you see anything unusual.

@dcausse Thank you, will keep an eye on it but for now it looks great. Have posted to the mnwiki main discussion board for additional feedback as well.