summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialMostimages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialMostimages.php')
-rw-r--r--includes/specials/SpecialMostimages.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/specials/SpecialMostimages.php b/includes/specials/SpecialMostimages.php
index ac2b5206..7805e53e 100644
--- a/includes/specials/SpecialMostimages.php
+++ b/includes/specials/SpecialMostimages.php
@@ -50,9 +50,7 @@ class MostimagesPage extends ImageQueryPage {
}
function getCellHtml( $row ) {
- global $wgLang;
- return wfMsgExt( 'nimagelinks', array( 'parsemag', 'escape' ),
- $wgLang->formatNum( $row->value ) ) . '<br />';
+ return $this->msg( 'nimagelinks' )->numParams( $row->value )->escaped() . '<br />';
}
}