7 class LanguageKu_ku
extends Language
{
9 /** # Convert from the nominative form of a noun to some other case
10 # Invoked with {{GRAMMAR:case|word}}
14 * From Kazakh interface, not needed at the moment, maybe later
16 function convertGrammar( $word, $case ) {
21 * Avoid grouping whole numbers between 0 to 9999
23 function commafy( $_ ) {
25 if ( !preg_match( '/^\d{1,4}$/', $_ ) ) {
26 return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev($_) ) );