8 class LanguageEt
extends Language
{
10 * Avoid grouping whole numbers between 0 to 9999
12 function commafy($_) {
13 if (!preg_match('/^\d{1,4}$/',$_)) {
14 return strrev((string)preg_replace('/(\d{3})(?=\d)(?!\d*\.)/','$1,',strrev($_)));
20 function convertGrammar( $word, $case ) {
21 global $wgGrammarForms;
22 if ( isset( $wgGrammarForms['et'][$case][$word] ) ) {
23 return $wgGrammarForms['et'][$case][$word];