From: Brion Vibber Date: Mon, 24 Oct 2005 23:38:58 +0000 (+0000) Subject: Revert bogus change in 1.36 X-Git-Tag: 1.6.0~1324 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=3bafe70772ec5efa4be9848f6d6280310823357e;p=lhc%2Fweb%2Fwiklou.git Revert bogus change in 1.36 formatNum must return text, not HTML --- diff --git a/languages/LanguageLt.php b/languages/LanguageLt.php index 6a2c042771..043f8954c7 100644 --- a/languages/LanguageLt.php +++ b/languages/LanguageLt.php @@ -1075,8 +1075,8 @@ class LanguageLt extends LanguageUtf8 { return $wgAllMessagesLt; } - function formatNum( $number, $year = false ) { - return $year ? $number : strtr($this->commafy($number), array("." => ",", "," => " ") ); + function formatNum( $number ) { + return strtr($number, '.,', ',.' ); } }