mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
Merge "ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)"
This commit is contained in:
commit
f5bae30b4a
|
@ -74,6 +74,14 @@ ve.ui.MWTransclusionContextItem.prototype.getDescription = function () {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
ve.ui.LinearContextItem.prototype.renderDescription = function () {
|
||||||
|
// No "Generated from" prefix in mobile context
|
||||||
|
this.$description.text( ve.ce.MWTransclusionNode.static.getDescription( this.model ) );
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue