dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Tolerate invalid titles in some ChangesFeed and LogFormatter code"
[lhc/web/wiklou.git]
/
languages
/
classes
/
LanguageKk.php
diff --git
a/languages/classes/LanguageKk.php
b/languages/classes/LanguageKk.php
index
ea35ac8
..
d829ead
100644
(file)
--- a/
languages/classes/LanguageKk.php
+++ b/
languages/classes/LanguageKk.php
@@
-45,9
+45,10
@@
class KkConverter extends LanguageConverter {
* @param array $flags
*/
function __construct( Language $langobj, $maincode,
* @param array $flags
*/
function __construct( Language $langobj, $maincode,
- $variants = [],
- $variantfallbacks = [],
- $flags = [] ) {
+ $variants = [],
+ $variantfallbacks = [],
+ $flags = []
+ ) {
parent::__construct( $langobj, $maincode,
$variants, $variantfallbacks, $flags );
parent::__construct( $langobj, $maincode,
$variants, $variantfallbacks, $flags );
@@
-315,8
+316,8
@@
class KkConverter extends LanguageConverter {
// is matched the word to front vowels?
// exclude a words matched to е, э, г, к, к, қ,
// them should be without hamza
// is matched the word to front vowels?
// exclude a words matched to е, э, г, к, к, қ,
// them should be without hamza
- if ( preg_match( '/[' . $front . ']/u', $m[0] )
-
&&
!preg_match( '/[' . $excludes . ']/u', $m[0] )
+ if ( preg_match( '/[' . $front . ']/u', $m[0] )
&&
+ !preg_match( '/[' . $excludes . ']/u', $m[0] )
) {
$ret .= preg_replace( '/[' . $letters . ']+/u', H_HAMZA . '$0', $m[0] );
} else {
) {
$ret .= preg_replace( '/[' . $letters . ']+/u', H_HAMZA . '$0', $m[0] );
} else {