Page MenuHomePhabricator

Have translated page names in the suggestions and in the search results
Open, MediumPublicFeature



I opened a discussion thread, and I was advised to ask on Phabricator :

I use CirrusSearch, and Translate.

My wiki is in French, translated in English.

I need to have two things :

  • In search suggestion, I want to have translated page name (eg. Pagename/Page display title/en) according to my chosen language, if it exists.
  • In search results, I want to have the Page display title instead of Pagename/en as a title.

My goal is to provide my non-French speakers a means to know the title of the page, in their language.

After that, I would set this parameter to favor user language pages.

$wgCirrusSearchLanguageWeight = [
     'user' => 10.0, // should favor pages in user language
     'wiki' => 1.2, // boost pages in wiki language

Thanks a lot for help !

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Implementation note: Using (plaintext version of) the display title page property would fix this.

debt triaged this task as Medium priority.Nov 30 2017, 6:10 PM
debt moved this task from needs triage to This Quarter on the Discovery-Search board.
debt added a subscriber: debt.
This comment was removed by debt.
Aklapper changed the subtype of this task from "Task" to "Feature Request".Jul 21 2023, 1:57 PM