<p></p>
<p><b>@1ec5</b> commented on this pull request.</p>

<p dir="auto">This will make the stats much more readable at a glance.</p>
<p dir="auto">Do we know of anything that scrapes this page and possibly expects these numbers to remain unformatted? Does this also affect <a href="https://planet.openstreetmap.org/statistics/data_stats.html" rel="nofollow">the statistics page on the planet site</a> or only on the main domain? I’m no fan of scraping pages for stuff like this, but we don’t have an equivalent API endpoint, so I might need to spread the word about this change.</p><hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5994#discussion_r2080039835">script/statistics</a>:</p>
<pre style='color:#555'>> @@ -23,11 +29,11 @@ begin
     relation_count = Relation.where(:visible => true).count
 
     puts "<table>"
-    puts "<tr><td>Number of users</td><td>#{user_count}</td></tr>"
-    puts "<tr><td>Number of uploaded GPS points</td><td>#{tracepoint_count}</td></tr>"
-    puts "<tr><td>Number of nodes</td><td>#{node_count}</td></tr>"
-    puts "<tr><td>Number of ways</td><td>#{way_count}</td></tr>"
-    puts "<tr><td>Number of relations</td><td>#{relation_count}</td></tr>"
+    puts "<tr><td>Number of users</td><td>#{user_count.format()}</td></tr>"
+    puts "<tr><td>Number of uploaded GPS points</td><td>#{tracepoint_count.format()}</td></tr>"
+    puts "<tr><td>Number of nodes</td><td>#{node_count.format()}</td></tr>"
+    puts "<tr><td>Number of ways</td><td>#{way_count.format()}</td></tr>"
+    puts "<tr><td>Number of relations</td><td>#{relation_count.format()}</td></tr>"
</pre>
<p dir="auto">If you’re open to it, an alternative approach would be to add a small amount of JavaScript that <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString" rel="nofollow">formats the number</a> on the fly.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5994#pullrequestreview-2825679494">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLPZZWMNRRCYU5TR7D25N7GRAVCNFSM6AAAAAB4WW34T2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDQMRVGY3TSNBZGQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMMHV3YAA7AD7524FL25N7GRA5CNFSM6AAAAAB4WW34T2WGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTVINRZIM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5994/review/2825679494</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5994#pullrequestreview-2825679494",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5994#pullrequestreview-2825679494",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>