Merge "Separate parameter aliases in the description table with spaces"

This commit is contained in:
jenkins-bot 2018-11-15 23:51:41 +00:00 committed by Gerrit Code Review
commit 201efff49a

View file

@ -801,7 +801,8 @@ class TemplateDataBlob {
$aliases = '';
if ( count( $paramObj->aliases ) ) {
foreach ( $paramObj->aliases as $alias ) {
$aliases .= Html::element( 'code', [
$aliases .= wfMessage( 'word-separator' )->inLanguage( $lang )->escaped()
. Html::element( 'code', [
'class' => 'mw-templatedata-doc-param-alias'
], $alias );
}