Hi,
I opened a discussion thread, and I was advised to ask on Phabricator : https://www.mediawiki.org/wiki/Topic:U21h6wzaatak6xzl
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 !