diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineTemplateWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineTemplateWidget.js index fc8de16b2c..106ff62cf4 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineTemplateWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWTransclusionOutlineTemplateWidget.js @@ -38,7 +38,7 @@ ve.ui.MWTransclusionOutlineTemplateWidget = function VeUiMWTransclusionOutlineTe if ( parameterNames.length ) { this.initializeParameterList(); this.parameterList.addItems( parameterNames.map( this.createCheckbox.bind( this ) ) ); - } else { + } else if ( !canFilter ) { this.$noParametersNote = $( '
' ) .text( ve.msg( 'visualeditor-dialog-transclusion-no-template-parameters' ) ) .addClass( 've-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters' );