jenkins-bot has submitted this change and it was merged.

Change subject: Number format the translation and proofread stats of user
......................................................................


Number format the translation and proofread stats of user

Change-Id: Icca878d9b01f8e6b228ffdff6f9bc7412a5608c9
---
M specials/SpecialTwnMainPage.php
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/specials/SpecialTwnMainPage.php b/specials/SpecialTwnMainPage.php
index accc93b..43a1726 100644
--- a/specials/SpecialTwnMainPage.php
+++ b/specials/SpecialTwnMainPage.php
@@ -621,7 +621,9 @@
                $translators = count( $stats );
                foreach ( $stats as $user => $count ) {
                        if ( $user === $myuser ) {
-                               $out .= Html::element( 'div', array( 'class' => 
'count' ), $count );
+                               $out .= Html::element( 'div', array(
+                                               'class' => 'count'
+                                       ), $this->getLanguage()->formatNum( 
$count ) );
                                $out .= Html::element(
                                        'div',
                                        array( 'class' => 'count-description' ),
@@ -662,7 +664,9 @@
                $translators = count( $stats );
                foreach ( $stats as $user => $count ) {
                        if ( $user === $myuser ) {
-                               $out .= Html::element( 'div', array( 'class' => 
'count' ), $count );
+                               $out .= Html::element( 'div', array(
+                                               'class' => 'count'
+                                       ), $this->getLanguage()->formatNum( 
$count ) );
                                $out .= Html::element(
                                        'div',
                                        array( 'class' => 'count-description' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/87675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icca878d9b01f8e6b228ffdff6f9bc7412a5608c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwnMainPage
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to