Use dash as separator for non-prefix matches in language name search

Bug: T186480
Change-Id: Ib785e2b070e0c5a218b236be194417f0b1fbd102
This commit is contained in:
Niklas Laxström
2018-02-06 17:04:32 +01:00
parent 0c2c273c93
commit 1e15341fd1
4 changed files with 9470 additions and 9470 deletions

View File

@@ -62,7 +62,7 @@ class LanguageNameIndexer extends Maintenance {
$display = $translation;
if ( $index > 0 && count( $words ) > 1 ) {
$type = 'infix';
$display = "$word <$translation>";
$display = "$word $translation";
}
$buckets[$bucket][$type][$display] = $targetLanguage;
}