Follow-up r88054: register the file if a hook changed the target file.
[lhc/web/wiklou.git] / includes / PatrolLog.php
index 5727853..26fe5eb 100644 (file)
@@ -39,6 +39,8 @@ class PatrolLog {
         * @return String
         */
        public static function makeActionText( $title, $params, $skin ) {
+               global $wgLang;
+
                list( $cur, /* $prev */, $auto ) = $params;
                if( is_object( $skin ) ) {
                        # Standard link to the page in question
@@ -52,7 +54,7 @@ class PatrolLog {
 
                                $diff = $skin->link(
                                        $title,
-                                       htmlspecialchars( wfMsg( 'patrol-log-diff', $cur ) ),
+                                       htmlspecialchars( wfMsg( 'patrol-log-diff', $wgLang->formatNum( $cur, true ) ) ),
                                        array(),
                                        $query,
                                        array( 'known', 'noclasses' )