MediaWiki
REL1_31
LanguageBe_tarask.php
Go to the documentation of this file.
1
<?php
33
// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
34
class
LanguageBe_tarask
extends
Language
{
45
function
normalizeForSearch
( $string ) {
46
# MySQL fulltext index doesn't grok utf-8, so we
47
# need to fold cases and convert to hex
48
49
# Replacing apostrophe sign U+2019 with U+0027
50
$s
= preg_replace(
'/\xe2\x80\x99/'
,
'\''
, $string );
51
52
$s
= parent::normalizeForSearch(
$s
);
53
54
return
$s
;
55
}
56
}
LanguageBe_tarask
Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
Definition
LanguageBe_tarask.php:34
LanguageBe_tarask\normalizeForSearch
normalizeForSearch( $string)
The Belarusian language uses apostrophe sign, but the characters used for this could be both U+0027 a...
Definition
LanguageBe_tarask.php:45
Language
Internationalisation code.
Definition
Language.php:35
$s
$s
Definition
mergeMessageFileList.php:187
languages
classes
LanguageBe_tarask.php
Generated on Mon Nov 25 2024 15:35:38 for MediaWiki by
1.10.0