mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 00:20:37 +00:00
Run filter number through formatNum()
Change-Id: If95bbae4af3d4c5a35ee02f1adadc4040ef36009
This commit is contained in:
parent
0e9f6c0a5e
commit
3f1b73e5f4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue