r10021 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10020‎ | r10021 | r10022 >
Date:00:03, 9 July 2005
Author:avar
Status:old
Tags:
Comment:
* (bug 2764) Number format for Nds
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/LanguageNds.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -547,7 +547,8 @@
548548 * (bug 787) external links being rendered when they only have one slash
549549 * Fixed a missing typecast in Language::dateFormat() that would cause some
550550 interesting errors with signitures.
551 -
 551+* (bug 2764) Number format for Nds
 552+
552553 === Caveats ===
553554
554555 Some output, particularly involving user-supplied inline HTML, may not
Index: trunk/phase3/languages/LanguageNds.php
@@ -1488,6 +1488,9 @@
14891489 }
14901490 }
14911491
 1492+ function formatNum( $number, $year = false ) {
 1493+ return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
 1494+ }
14921495 }
14931496
14941497 ?>

Status & tagging log