MediaWiki REL1_35
LanguageBe_tarask.php
Go to the documentation of this file.
1<?php
33// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
45 public 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}
Belarusian in Taraškievica orthography (Беларуская тарашкевіца)
normalizeForSearch( $string)
The Belarusian language uses apostrophe sign, but the characters used for this could be both U+0027 a...
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
Definition Language.php:41