Index: trunk/phase3/languages/Language.php |
— | — | @@ -683,7 +683,7 @@ |
684 | 684 | } |
685 | 685 | |
686 | 686 | function formatDay( $day, $format ) { |
687 | | - return $this->formatNum( 0 + $day ); |
| 687 | + return $this->formatNum( 0 + $day, true ); |
688 | 688 | } |
689 | 689 | |
690 | 690 | /** |
— | — | @@ -913,12 +913,12 @@ |
914 | 914 | * @public |
915 | 915 | * @param mixed $number the string to be formatted, should be an integer or |
916 | 916 | * a floating point number. |
917 | | - * @param bool $commafy Set to false for special numbers like dates |
| 917 | + * @param bool $nocommafy Set to true for special numbers like dates |
918 | 918 | * @return string |
919 | 919 | */ |
920 | | - function formatNum( $number, $commafy = false ) { |
| 920 | + function formatNum( $number, $nocommafy = false ) { |
921 | 921 | global $wgTranslateNumerals; |
922 | | - if (!$commafy) { |
| 922 | + if (!$nocommafy) { |
923 | 923 | $number = $this->commafy($number); |
924 | 924 | $s = $this->separatorTransformTable(); |
925 | 925 | if (!is_null($s)) { $number = strtr($number, $s); } |