Merge "ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)"

This commit is contained in:
jenkins-bot 2019-02-05 19:13:55 +00:00 committed by Gerrit Code Review
commit f5bae30b4a

View file

@ -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
*/