r10198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10197‎ | r10198 | r10199 >
Date:19:58, 18 July 2005
Author:avar
Status:old
Tags:
Comment:
* (bug 2901) Number format for Catalan
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/LanguageCa.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -579,8 +579,8 @@
580580 * (bug 2835) Back out fix for bug 2802, caused regressions in category sort
581581 * (bug 2866) Revert experimental, non-cross-platform sortable table hack
582582 * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing
 583+* (bug 2901) Number format for Catalan
583584
584 -
585585 === Caveats ===
586586
587587 Some output, particularly involving user-supplied inline HTML, may not
Index: trunk/phase3/languages/LanguageCa.php
@@ -957,6 +957,11 @@
958958 return parent::getMessage( $key );
959959 }
960960 }
 961+
 962+ function formatNum( $number, $year = false ) {
 963+ return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
 964+ }
 965+
961966 }
962967
963968 ?>

Status & tagging log