includes/search/SearchMySQL.php 1 location
|
@@ 80-84 (lines=5) @@
|
| 77 |
|
// Some languages such as Serbian store the input form in the search index, |
| 78 |
|
// so we may need to search for matches in multiple writing system variants. |
| 79 |
|
$convertedVariants = $wgContLang->autoConvertToAllVariants( $term ); |
| 80 |
|
if ( is_array( $convertedVariants ) ) { |
| 81 |
|
$variants = array_unique( array_values( $convertedVariants ) ); |
| 82 |
|
} else { |
| 83 |
|
$variants = [ $term ]; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
// The low-level search index does some processing on input to work |
| 87 |
|
// around problems with minimum lengths and encoding in MySQL's |
includes/search/SearchSqlite.php 1 location
|
@@ 74-78 (lines=5) @@
|
| 71 |
|
// Some languages such as Serbian store the input form in the search index, |
| 72 |
|
// so we may need to search for matches in multiple writing system variants. |
| 73 |
|
$convertedVariants = $wgContLang->autoConvertToAllVariants( $term ); |
| 74 |
|
if ( is_array( $convertedVariants ) ) { |
| 75 |
|
$variants = array_unique( array_values( $convertedVariants ) ); |
| 76 |
|
} else { |
| 77 |
|
$variants = [ $term ]; |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
// The low-level search index does some processing on input to work |
| 81 |
|
// around problems with minimum lengths and encoding in MySQL's |