Run filter number through formatNum()

Change-Id: If95bbae4af3d4c5a35ee02f1adadc4040ef36009
This commit is contained in:
raymond 2012-10-26 09:40:14 +02:00 committed by Marius Hoch
parent 0e9f6c0a5e
commit 3f1b73e5f4
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -24,7 +24,7 @@ class SpecialAbuseFilter extends SpecialPage {
$out->setSubtitle( $this->msg( 'abusefilter-edit-done-subtitle' ) );
$changedFilter = intval( $request->getVal( 'changedfilter' ) );
$out->wrapWikiMsg( '<p class="success">$1</p>',
array( 'abusefilter-edit-done', $changedFilter ) );
array( 'abusefilter-edit-done', $this->getLanguage()->formatNum( $changedFilter ) ) );
}
$this->mHistoryID = null;