Merge "Pass message parameters as variadic arguments"

This commit is contained in:
jenkins-bot 2024-11-04 10:46:13 +00:00 committed by Gerrit Code Review
commit 197affa825

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