diff --git a/includes/Views/AbuseFilterViewHistory.php b/includes/Views/AbuseFilterViewHistory.php index 8b9abbbe3..16b87565a 100644 --- a/includes/Views/AbuseFilterViewHistory.php +++ b/includes/Views/AbuseFilterViewHistory.php @@ -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' ) ); } diff --git a/includes/Views/AbuseFilterViewRevert.php b/includes/Views/AbuseFilterViewRevert.php index eccddea0b..f8c07bd35 100644 --- a/includes/Views/AbuseFilterViewRevert.php +++ b/includes/Views/AbuseFilterViewRevert.php @@ -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 = [];