From 3f1b73e5f49b5fdd957604fbde6bc0badc7d957d Mon Sep 17 00:00:00 2001 From: raymond Date: Fri, 26 Oct 2012 09:40:14 +0200 Subject: [PATCH] Run filter number through formatNum() Change-Id: If95bbae4af3d4c5a35ee02f1adadc4040ef36009 --- Views/AbuseFilterViewEdit.php | 2 +- special/SpecialAbuseFilter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Views/AbuseFilterViewEdit.php b/Views/AbuseFilterViewEdit.php index 1edbfea22..2f3fa3826 100644 --- a/Views/AbuseFilterViewEdit.php +++ b/Views/AbuseFilterViewEdit.php @@ -300,7 +300,7 @@ class AbuseFilterViewEdit extends AbuseFilterView { $out->setSubtitle( $this->msg( $filter === 'new' ? 'abusefilter-edit-subtitle-new' : 'abusefilter-edit-subtitle', - $filter, $history_id + $this->getLanguage()->formatNum( $filter ), $history_id )->text() ); // Hide hidden filters. diff --git a/special/SpecialAbuseFilter.php b/special/SpecialAbuseFilter.php index 53c9ff6cb..1a77d4c7f 100644 --- a/special/SpecialAbuseFilter.php +++ b/special/SpecialAbuseFilter.php @@ -24,7 +24,7 @@ class SpecialAbuseFilter extends SpecialPage { $out->setSubtitle( $this->msg( 'abusefilter-edit-done-subtitle' ) ); $changedFilter = intval( $request->getVal( 'changedfilter' ) ); $out->wrapWikiMsg( '

$1

', - array( 'abusefilter-edit-done', $changedFilter ) ); + array( 'abusefilter-edit-done', $this->getLanguage()->formatNum( $changedFilter ) ) ); } $this->mHistoryID = null;