MediaWiki master
LanguageBe_tarask.php
Go to the documentation of this file.
1<?php
25
32// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
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}
Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
normalizeForSearch( $text)
The Belarusian language uses apostrophe sign, but the characters used for this could be both U+0027 a...
Base class for language-specific code.
Definition Language.php:81