Originally reported on MediaWiki.org:
The digital format for "Views per edit" in "View statistics" not displayed correctly for non-English.
Problem in includes/HitCounters.body.php:
['hitcounters-statistics-views-peredit'] = $contLang->formatNum( $totalViews ? sprintf( '%.2f', $totalViews / SiteStats::edits() ) : 0 );
: [de] "Aufrufe pro Bearbeitung" shows "21.28", should be "21,28".
: [es] "Visualizaciones por edición" shows "40 16", should be "40,16".
This seems to work:
['hitcounters-statistics-views-peredit'] = $totalViews ? sprintf( '%.2f', $totalViews / SiteStats::edits() ) : 0;