Page MenuHomePhabricator

Enhance Special:Search by allowing to limit the results to a certain language
Open, Needs TriagePublic

Description

This can be achieved by adding a drop-down to the search form which lists all language codes ('en', 'fr', ...) and when a specific language code is used, results only for that language are returned.

This is useful because some languages share words, and if you search for a word, often you want to find it for a specific language only (so you can harmonize multiple translations of the same word, etc). I run into that often when I search for a Persian word, which happens to be shared with other related languages like South Azerbaijani, etc.


See also:

Event Timeline

Huji created this task.Dec 18 2015, 12:24 AM
Huji raised the priority of this task from to Needs Triage.
Huji updated the task description. (Show Details)
Huji added a subscriber: Huji.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 18 2015, 12:24 AM
Nikerabbit added a subscriber: Nikerabbit.

I think this is out of scope for Translate. Many other extensions and even core itself can provide content in different languages.

Restricted Application added a project: Discovery. · View Herald TranscriptJan 22 2016, 3:21 PM
Nikerabbit renamed this task from Translate should enhance Special:Search by allowing to limit the results to a certain langauge to Enhance Special:Search by allowing to limit the results to a certain langauge.Jan 22 2016, 3:22 PM
Nikerabbit set Security to None.
Nemo_bis renamed this task from Enhance Special:Search by allowing to limit the results to a certain langauge to Enhance Special:Search by allowing to limit the results to a certain language.Jan 22 2016, 10:37 PM
Nemo_bis updated the task description. (Show Details)

This is a possible solution for T56832: CirrusSearch should do the right thing when searches and documents are in languages other than the wiki's default but I believe it would be both too extreme (can exclude too much) and too expensive (requires some interface control), so T68829: Prefer pages in the user's language in multilingual wikis is better. On the other hand, scoring might be harder to alter for the default (MySQL) search.

Quiddity updated the task description. (Show Details)Feb 10 2016, 10:39 PM
EBernhardson moved this task from Needs triage to Search on the Discovery board.Feb 11 2016, 11:22 PM
Restricted Application added a project: Discovery-Search. · View Herald TranscriptSep 1 2016, 10:39 PM
debt added a subscriber: debt.

Moving to later, as we think https://phabricator.wikimedia.org/T125944 will help out a lot.

Amire80 moved this task from Untriaged to Search on the I18n board.Mar 12 2018, 1:29 PM