mediawiki-extensions-Discus.../modules
Sam Smith 2f6305b7b5 logger: Also log VisualEditorFeatureUsage events via Metrics Platform
The VisualEditorFeatureUsage 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 directly (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 attributes [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/T309602#7973206

Bug: T309602
Change-Id: Ib919ae0e3f404c85cef17637ea91bb95d5030cf1
2022-10-03 12:02:23 +01:00
..
dt-ve Re-enable keyboard sequences for template, table etc. in new topic tool 2022-07-31 02:40:12 +02:00
lib
.eslintrc.json Implement percentDecode for finding link fragment targets 2022-08-09 20:06:28 +00:00
AbandonCommentDialog.js
AbandonTopicDialog.js
autotopicsubpopup-image.svg
CommentController.js Merge "Add mw.track call when comment setup fails" 2022-09-27 22:32:08 +00:00
CommentDetails.js
CommentItem.js Avoid localized digits in internal timestamps in JS 2022-07-13 02:33:24 +02:00
controller.js Fix double <div class="mw-parser-output"> after saving 2022-09-29 01:26:33 +02:00
createMemoryStorage.js ReplyWidgetVisual: Pass in memory-wrapped store to VE 2022-06-17 14:05:54 +01:00
debughighlighter.js
debughighlighter.less
dt.debug.js
dt.init.js Initialize on live preview and real-time preview too 2022-07-28 19:06:32 +02:00
dt.init.less Fix reply link/button margins on RTL wikis 2022-10-01 21:52:32 +02:00
dt.ui.NewTopicController.less New topic hint: Cleanup CSS 2022-06-29 11:58:51 +01:00
dt.ui.ReplyWidget.js ReplyWidget: Ignore pending updates after tearing down 2022-09-03 06:55:42 +02:00
dt.ui.ReplyWidget.less Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
dt.ui.ReplyWidgetPlain.js ReplyWidget: Ignore pending updates after tearing down 2022-09-03 06:55:42 +02:00
dt.ui.ReplyWidgetVisual.js Merge "ReplyWidgetVisual: Pass in memory-wrapped store to VE" 2022-06-17 22:26:06 +00:00
HeadingItem.js Move placeholder heading level (99) to a constant 2022-06-14 22:51:49 +01:00
highlighter.js highlighter: Use upstream getTargetFromFragment 2022-08-31 13:10:10 +00:00
logger.js logger: Also log VisualEditorFeatureUsage events via Metrics Platform 2022-10-03 12:02:23 +01:00
ModeTabOptionWidget.js
ModeTabSelectWidget.js
modifier.js
NewTopicController.js Pass empty string to unused argument of pushState/replaceState 2022-08-09 13:37:57 +01:00
Parser.js Refactor thread summary getters 2022-09-06 23:19:13 +02:00
ReplyLinksController.js Prefix browser title while replying/starting a new topic 2022-08-25 16:12:54 +01:00
ThreadItem.js Refactor thread summary getters 2022-09-06 23:19:13 +02:00
ThreadItemSet.js ThreadItemSet.newFromAnnotatedNodes needs to wait to compute names 2022-09-19 14:13:51 -05:00
topicsubscriptions.js Show thread metadata in section headers 2022-06-23 17:17:09 +01:00
utils.js Ignore "tracked" templates at the beginning of comments 2022-07-31 03:56:36 +02:00