mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Log when the advanced mode panel is toggled
Bug: T261816 Change-Id: Iadd17b4f5280fc09d7a16a64bb709bab1a1a09d5
This commit is contained in:
parent
ebaa132ebf
commit
5b20503ec2
|
@ -277,6 +277,10 @@ ReplyWidget.prototype.saveEditMode = function ( mode ) {
|
|||
};
|
||||
|
||||
ReplyWidget.prototype.onAdvancedToggleClick = function () {
|
||||
mw.track( 'dt.schemaVisualEditorFeatureUse', {
|
||||
feature: 'dtReply',
|
||||
action: 'advanced-' + ( this.showAdvanced ? 'hide' : 'show' )
|
||||
} );
|
||||
this.toggleAdvanced();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue