Page MenuHomePhabricator

Enhance Special:Search by allowing to limit the results to a certain language
Closed, ResolvedPublic

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 raised the priority of this task from to Needs Triage.
Huji updated the task description. (Show Details)
Huji subscribed.
Nikerabbit subscribed.

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

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.