Pass message parameters as variadic arguments

Soon to be deprecated in If2ebb6d17ffeacbd95f0ed147ae8f16f90578450

Change-Id: Iaaaa2bf745c2ddcfc6d6d3d15be5ce6f2968cfa8
This commit is contained in:
Bartosz Dziewoński 2024-10-30 21:41:20 +01:00
parent 4382b695f3
commit 65951c19d2

View file

@ -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 ) {