Add digit transformation function Language::formatNum() for Arabic and other
[lhc/web/wiklou.git] / includes / Skin.php
index 28d60a6..bbdeaad 100644 (file)
@@ -668,7 +668,7 @@ class Skin {
                if ( $wgDisableCounters ) {
                        $s = "";
                } else {
-                       $count = $wgArticle->getCount();
+                       $count = $wgLang->formatNum( $wgArticle->getCount() );
                        $s = wfMsg( "viewcount", $count );
                }
                $s .= $this->lastModified();