From 65951c19d2b09dbf5540946c5a751dd3af16e60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 30 Oct 2024 21:41:20 +0100 Subject: [PATCH] Pass message parameters as variadic arguments Soon to be deprecated in If2ebb6d17ffeacbd95f0ed147ae8f16f90578450 Change-Id: Iaaaa2bf745c2ddcfc6d6d3d15be5ce6f2968cfa8 --- includes/Hooks/PageHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Hooks/PageHooks.php b/includes/Hooks/PageHooks.php index 9465a4260..22453eebb 100644 --- a/includes/Hooks/PageHooks.php +++ b/includes/Hooks/PageHooks.php @@ -500,7 +500,7 @@ class PageHooks implements $context->msg( $titleMsg )->parse() ) . Html::rawElement( 'div', [ 'class' => 'plainlinks' ], - $context->msg( $descMsg, $descParams )->parseAsBlock() + $context->msg( $descMsg, ...$descParams )->parseAsBlock() ); if ( $buttonMsg ) {