Revert "Replace deprecated setIndicatorTitle with setTitle"

This reverts commit a7c98d88de.

Bug: T212975
Change-Id: Iffbbd36d0e91d02f50ce0407ed556f2a7d91a301
This commit is contained in:
Bartosz Dziewoński 2019-01-07 21:08:35 +00:00
parent a7c98d88de
commit 8a286b06f0

View file

@ -61,7 +61,7 @@ ve.ui.MWParameterPage = function VeUiMWParameterPage( parameter, name, config )
if ( this.parameter.isRequired() ) {
this.statusIndicator
.setIndicator( 'required' )
.setTitle(
.setIndicatorTitle(
ve.msg( 'visualeditor-dialog-transclusion-required-parameter' )
);
this.$description.append(
@ -74,7 +74,7 @@ ve.ui.MWParameterPage = function VeUiMWParameterPage( parameter, name, config )
} else if ( this.parameter.isDeprecated() ) {
this.statusIndicator
.setIndicator( 'alert' )
.setTitle(
.setIndicatorTitle(
ve.msg( 'visualeditor-dialog-transclusion-deprecated-parameter' )
);
this.$description.append(
@ -377,14 +377,14 @@ ve.ui.MWParameterPage.prototype.setOutlineItem = function () {
if ( this.parameter.isRequired() ) {
this.outlineItem
.setIndicator( 'required' )
.setTitle(
.setIndicatorTitle(
ve.msg( 'visualeditor-dialog-transclusion-required-parameter' )
);
}
if ( this.parameter.isDeprecated() ) {
this.outlineItem
.setIndicator( 'alert' )
.setTitle(
.setIndicatorTitle(
ve.msg( 'visualeditor-dialog-transclusion-deprecated-parameter' )
);
}