MediaWiki
master
LanguageBe_tarask.php
Go to the documentation of this file.
1
<?php
24
use
MediaWiki\Language\Language
;
25
32
// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
33
class
LanguageBe_tarask
extends
Language
{
42
public
function
normalizeForSearch
( $text ) {
43
# MySQL fulltext index doesn't grok utf-8, so we
44
# need to fold cases and convert to hex
45
46
# Replacing apostrophe sign U+2019 with U+0027
47
$text = str_replace(
"\u{2019}"
,
'\''
, $text );
48
49
return
parent::normalizeForSearch( $text );
50
}
51
}
LanguageBe_tarask
Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
Definition
LanguageBe_tarask.php:33
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:42
MediaWiki\Language\Language
Base class for language-specific code.
Definition
Language.php:81
includes
languages
LanguageBe_tarask.php
Generated on Fri Jun 13 2025 20:24:24 for MediaWiki by
1.10.0