MediaWiki
master
LanguageBe_tarask.php
Go to the documentation of this file.
1
<?php
30
// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
31
class
LanguageBe_tarask
extends
Language {
40
public
function
normalizeForSearch
( $text ) {
41
# MySQL fulltext index doesn't grok utf-8, so we
42
# need to fold cases and convert to hex
43
44
# Replacing apostrophe sign U+2019 with U+0027
45
$text = str_replace(
"\u{2019}"
,
'\''
, $text );
46
47
return
parent::normalizeForSearch( $text );
48
}
49
}
LanguageBe_tarask
Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
Definition
LanguageBe_tarask.php:31
LanguageBe_tarask\normalizeForSearch
normalizeForSearch( $text)
The Belarusian language uses apostrophe sign, but the characters used for this could be both U+0027 a...
Definition
LanguageBe_tarask.php:40
includes
languages
LanguageBe_tarask.php
Generated on Wed Sep 18 2024 07:23:31 for MediaWiki by
1.10.0