https://bugzilla.wikimedia.org/show_bug.cgi?id=30846

--- Comment #17 from Soslan Khubulov <[email protected]> 2011-09-19 14:14:19 
UTC ---
(In reply to comment #15)
> Why is this twice?:
> if (preg_match('/тæ$/u', $word)) $word=mb_substr($word,0,-1);
> 
> What does this do? Can you add a comment with example or something?
> elseif ( preg_match( "/[у]/u", $ll) ) {
>   if ( !preg_match( "/[аæеёиоыэюя]/u", mb_substr( $word, -2, 1 )) )
> 
> Can you also do with out $ll variable? It is easy to match the end of string
> with pattern like /y$/.
> 
> It also does not follow our coding conventions, but that is something I can 
> fix
> when I commit.

Done. 
Letter 'у' can be either vowel or consonant. So it is important to specify it
for putting 'й' between word and case ending. 
This is an example: {{grammar:genitive|аунеу}} = аунеуы,
{{grammar:genitive|лæппу}} = лæппуйы.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to