mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 10:58:20 +00:00
Log when editor switching is prevented
feature: editor-switch action: dialog-prevent-table-show / dialog-prevent-template-show / dialog-prevent-extension-show Bug: T257501 Change-Id: Id0704c082d98504b84795c38a2f4ff372f8c51da
This commit is contained in:
parent
a4862d24e0
commit
6cf2f9ac56
|
@ -433,6 +433,11 @@ CommentController.prototype.switchToVisual = function () {
|
|||
size: 'medium'
|
||||
}
|
||||
);
|
||||
mw.track( 'dt.schemaVisualEditorFeatureUse', {
|
||||
feature: 'editor-switch',
|
||||
action: 'dialog-prevent-' + type + '-show'
|
||||
} );
|
||||
|
||||
return $.Deferred().reject().promise();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue