Format filter IDs as numbers

Follows up I2bd833c35.

Change-Id: I3f2241fe791e9918750ef06805f9c4e5d52ee3b4
This commit is contained in:
Matěj Suchánek 2017-11-11 12:38:12 +01:00
parent 3b3a37bd4a
commit 957598261c
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ class AbuseFilterViewHistory extends AbuseFilterView {
$filter = $this->mFilter;
if ( $filter ) {
$out->setPageTitle( $this->msg( 'abusefilter-history', $filter ) );
$out->setPageTitle( $this->msg( 'abusefilter-history' )->numParams( $filter ) );
} else {
$out->setPageTitle( $this->msg( 'abusefilter-filter-log' ) );
}

View file

@ -20,8 +20,8 @@ class AbuseFilterViewRevert extends AbuseFilterView {
return;
}
$out->addWikiMsg( 'abusefilter-revert-intro', $filter );
$out->setPageTitle( $this->msg( 'abusefilter-revert-title', $filter ) );
$out->addWikiMsg( 'abusefilter-revert-intro', Message::numParam( $filter ) );
$out->setPageTitle( $this->msg( 'abusefilter-revert-title' )->numParams( $filter ) );
// First, the search form.
$searchFields = [];