mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Pass message parameters as variadic arguments
Soon to be deprecated in If2ebb6d17ffeacbd95f0ed147ae8f16f90578450 Change-Id: Iaaaa2bf745c2ddcfc6d6d3d15be5ce6f2968cfa8
This commit is contained in:
parent
4382b695f3
commit
65951c19d2
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue