diff --git a/includes/View/AbuseFilterViewEdit.php b/includes/View/AbuseFilterViewEdit.php index a142e44f6..f8f6d3f97 100644 --- a/includes/View/AbuseFilterViewEdit.php +++ b/includes/View/AbuseFilterViewEdit.php @@ -329,7 +329,7 @@ class AbuseFilterViewEdit extends AbuseFilterView { $oldWarningMessage = $readOnly ? 'abusefilter-edit-oldwarning-view' : 'abusefilter-edit-oldwarning'; - $out->addWikiMsg( $oldWarningMessage, $history_id, $filter ); + $out->addWikiMsg( $oldWarningMessage, $history_id, (string)$filter ); } if ( $error !== null ) {