mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-14 19:35:38 +00:00
Merge "Pass message parameters as variadic arguments"
This commit is contained in:
commit
197affa825
|
@ -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