mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Revert "Replace deprecated setIndicatorTitle
with setTitle
"
This reverts commit a7c98d88de
.
Bug: T212975
Change-Id: Iffbbd36d0e91d02f50ce0407ed556f2a7d91a301
This commit is contained in:
parent
a7c98d88de
commit
8a286b06f0
|
@ -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' )
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue