mediawiki-extensions-Discus.../modules
Sam Smith e31f8e6681 logger: Also log EditAttemptStep events via Metrics Platform
The EditAttemptStep instrument is a candidate for migration to the
Metrics Platform [0]. The first step of the migration is to log events
both using the Event Platform (i.e. via mw.eventLog.submit()) and using
the Metrics Platform Client (i.e. via mw.eventLog.dispatch()).

The Metrics Platform Client can mix in additional information -
so-called context attribute [1] - based on the stream configuration. The
majority of the default values mixed into each event via the
mw.eventLog.Schema defaults mechanism are already known to the Metrics
Platform Client.

Note well that the Metrics Platform Client will not log an event without
one or more streams being configured to receive that event. Therefore,
this change is a NOP.

An example stream configuration is given in [2].

[0] https://wikitech.wikimedia.org/wiki/Metrics_Platform
[1] https://gerrit.wikimedia.org/g/mediawiki/libs/metrics-platform/+/aed6738b845/js/src/StreamConfig.d.ts#31
[2] https://phabricator.wikimedia.org/T309013#7953227

Bug: T309013
Change-Id: Ic88225111132b440657aab85c34b36a642a7e602
2022-06-08 11:31:28 +01:00
..
dt-ve Fix CSS selector after upstream changes to CompletionWidget 2022-05-31 20:39:39 +00:00
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json Replace mediawiki.Uri with native URL (or polyfill) 2022-04-08 00:35:37 +02:00
AbandonCommentDialog.js Separate dialog for abandoning a new topic 2021-01-19 21:40:21 +01:00
AbandonTopicDialog.js Separate dialog for abandoning a new topic 2021-01-19 21:40:21 +01:00
autotopicsubpopup-image.svg First-run experience popup for automatic topic subscriptions 2021-11-15 22:45:42 +01:00
CommentController.js Show error message as soon as we detect the parent comment has been deleted 2022-03-04 00:40:29 +00:00
CommentDetails.js Show edit notices in the new discussion tool 2021-06-22 21:40:51 +02:00
CommentItem.js Implement getTimestampString on CommentItem 2022-03-24 16:49:35 +00:00
controller.js Merge "Fix reply links sometimes not working after visiting action=edit&section=new with new topic tool enabled" 2022-05-15 13:45:06 +00:00
debughighlighter.js debughighlighter: Fix date highlighting 2022-03-29 23:52:00 +02:00
debughighlighter.less Rename highlighter to debughighlighter 2022-03-01 14:20:18 +00:00
dt.debug.js Replace mediawiki.Uri with native URL (or polyfill) 2022-04-08 00:35:37 +02:00
dt.init.js Ready A/B test code for topic subscriptions 2022-05-19 01:09:40 -05:00
dt.init.less build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 23:25:06 +01:00
dt.ui.NewTopicController.less Use MessageWidget's showClose option 2022-03-08 01:25:22 +00:00
dt.ui.ReplyWidget.js Merge "Redesign "new comments" warning" 2022-05-12 17:21:23 +00:00
dt.ui.ReplyWidget.less CommentTarget: Clean up toolbar actions 2022-05-21 20:28:54 +00:00
dt.ui.ReplyWidgetPlain.js ReplyWidget: Introduce a 'refresh' teardown mode that preserves auto-save 2022-02-02 18:38:22 +00:00
dt.ui.ReplyWidgetVisual.js Don't show auto-save notifications when dynamically updating the page 2022-03-04 00:40:29 +00:00
HeadingItem.js CommentParser: Fix redundant uses of getHeadlineNodeAndOffset() 2022-03-08 23:29:34 +00:00
highlighter.js Dismiss "new comment" highlights when clicking 2022-05-06 17:44:21 +01:00
logger.js logger: Also log EditAttemptStep events via Metrics Platform 2022-06-08 11:31:28 +01:00
MemoryStorage.js Fix some typos in comments 2022-02-04 20:36:28 +01:00
ModeTabOptionWidget.js Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
ModeTabSelectWidget.js Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
modifier.js Don't allow the root node to be treated like a comment frame 2022-03-10 17:45:08 +00:00
NewTopicController.js Replace mediawiki.Uri with native URL (or polyfill) 2022-04-08 00:35:37 +02:00
Parser.js Ignore LRM and RLM in more places in the timestamp 2022-05-17 02:00:22 +02:00
ReplyLinksController.js Replace mediawiki.Uri with native URL (or polyfill) 2022-04-08 00:35:37 +02:00
ThreadItem.js ThreadItem.js: Only search CommentItem's for authors 2022-05-31 20:16:42 +00:00
ThreadItemSet.js Split off ThreadItemSet from CommentParser 2022-02-21 16:22:32 +00:00
topicsubscriptions.js Remove code for handling legacy HTML with data-mw-comment-name 2022-05-14 20:23:45 +00:00
utils.js Replace mediawiki.Uri with native URL (or polyfill) 2022-04-08 00:35:37 +02:00