"Santhosh.thottingal" posted a comment on MediaWiki.r108403.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/108403#c29457

Commit summary for MediaWiki.r108403:

Cleanup the convertPLural method for Lithuanian(lt)
Add phpunit test cases.

Santhosh.thottingal's comment:

Suppose "one" and "few" are the only given forms.

if count =1 we get "one".  if ( $count % 10 == 1 && $count % 100 != 11 ) return 
$forms[0]; gives the same

If count = anything else, either we will get either forms[1] or forms[2].but 
they are same since preConvertPlural copies forms[1] to forms[2]


Did I miss to notice any change in behavior?


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to