Commit graph

2934 commits

Author SHA1 Message Date
Sam Smith f39dddaee5 ext.wikiEditor: 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 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/T309013#7953227

Bug: T309013
Bug: T320281
Change-Id: Ia08bac484fb3a2209879531def859a01290120fd
2022-11-14 08:40:35 +00:00
Translation updater bot cd809aa130 Localisation updates from https://translatewiki.net.
Change-Id: Iabc7cd99af4fddb799ac35eae1436d867446e8ef
2022-11-14 08:11:33 +01:00
libraryupgrader 4c3e587f46 build: Updating grunt-stylelint to 0.18.0
Change-Id: I6116e1683f17163dbad6774d8aa4aabfad58afcb
2022-11-13 11:01:17 +00:00
Translation updater bot c621738978 Localisation updates from https://translatewiki.net.
Change-Id: I15806857eefc31f190626eb8d5b45d24a844bddd
2022-11-09 08:59:58 +01:00
Translation updater bot 81a986112c Localisation updates from https://translatewiki.net.
Change-Id: I23cc8a7f9510abcd17ae027a6524d9a5953bd6b3
2022-11-07 08:36:23 +01:00
Translation updater bot a87677a3db Localisation updates from https://translatewiki.net.
Change-Id: Ia53a1eaa9d528aa594c1f7a22f6a47307738f81a
2022-11-04 09:04:23 +01:00
Translation updater bot 679d699132 Localisation updates from https://translatewiki.net.
Change-Id: I4397896ccf2ffab4b08bb4ff498ee359b7410d7d
2022-11-01 08:55:43 +01:00
Translation updater bot 9bf07d2c2a Localisation updates from https://translatewiki.net.
Change-Id: I141f84bee7d4fdc5c1af5a2c7d519c6cf34bdeb0
2022-10-31 09:47:11 +01:00
Translation updater bot ebc4b5f65e Localisation updates from https://translatewiki.net.
Change-Id: If113b60b386da200b93b154443db569ab5d9acb8
2022-10-27 08:56:37 +02:00
Translation updater bot e2338f0f6e Localisation updates from https://translatewiki.net.
Change-Id: I0dc6293546a2ca32a0c437dac5db393347e766c4
2022-10-25 08:25:11 +02:00
Translation updater bot 05ab76373f Localisation updates from https://translatewiki.net.
Change-Id: I2d649618f079cfbb993298b11482d79012ac63ff
2022-10-24 08:24:03 +02:00
libraryupgrader d2bfadc690 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Ib2bca88ac214c4feb0c82887197cd2a46974cbc2
2022-10-22 01:00:25 +00:00
jenkins-bot 77cf5ea0aa Merge "Hooks: Use $revId of -1 for ::logEvent() calls" 2022-10-20 18:56:50 +00:00
Translation updater bot 71f85fcf6e Localisation updates from https://translatewiki.net.
Change-Id: I5a390dddbdb50fc5a77e7402462c9130d46f7499
2022-10-20 08:32:33 +02:00
Sam Smith 96e5f4e6f3 Hooks: Use $revId of -1 for ::logEvent() calls
EventLogging::logEvent() overwrides the $revId parameter when the schema
has been migrated to the Event Platform. Add a note and use a $revId of
-1 to make this consistent with other calls to EventLogging::logEvent()
for schemas that have been migrated to the Event Platform [0].

[0] https://codesearch.wmcloud.org/search/?q=%3A%3AlogEvent%5C(%20%27%5Cw%2B%27%2C%20-1

Bug: T318263
Change-Id: I5b58161a81ce1f4886f23500ee33ed74397d7107
2022-10-19 14:10:09 +00:00
Translation updater bot 1a198a7c15 Localisation updates from https://translatewiki.net.
Change-Id: I8d82bf9a70f59825201f183436cf072f9e0e6669
2022-10-17 08:22:56 +02:00
Translation updater bot b9d30b7268 Localisation updates from https://translatewiki.net.
Change-Id: I66c92f482653fa924ef4d0e9cc18f8944316f377
2022-10-14 08:43:25 +02:00
Translation updater bot c7e87e526c Localisation updates from https://translatewiki.net.
Change-Id: I3789a38b0117a506953adee06c69cb4af131684d
2022-10-10 10:21:38 +02:00
libraryupgrader 46b3694467 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: Ie20c5a3ae32f34b2907194c0db6b655fafe13bec
2022-10-09 12:28:27 +00:00
libraryupgrader 56dc310783 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ib961eb302fcb74341500e587c5b39fc64886a724
2022-10-06 09:47:44 +00:00
jenkins-bot 6575890975 Merge "[Realtime Preview] Only clone part of the #wikiPreview element" 2022-10-05 10:55:22 +00:00
Translation updater bot 98d843f645 Localisation updates from https://translatewiki.net.
Change-Id: Iab6b37758543ee81cadb6cbc3c39f5431c501e81
2022-10-04 08:30:22 +02:00
Translation updater bot c2a378278a Localisation updates from https://translatewiki.net.
Change-Id: I3a06803cedd97d0271b19ec5ffb821fa96fbff3b
2022-10-03 09:46:46 +02:00
Translation updater bot 2f4324767e Localisation updates from https://translatewiki.net.
Change-Id: Ie143a3a29129492bdde2c0dce8b4b0db7e954a99
2022-09-30 08:55:19 +02:00
Translation updater bot 37ef614913 Localisation updates from https://translatewiki.net.
Change-Id: I4f11248a87b52743268fd00a164aaebcf3cdd983
2022-09-29 08:28:31 +02:00
Translation updater bot 98b368540d Localisation updates from https://translatewiki.net.
Change-Id: I06ee96f0ae9ec03c3c6d2f7ec339f44784bdbdb0
2022-09-28 08:23:21 +02:00
Translation updater bot e4bd07aa18 Localisation updates from https://translatewiki.net.
Change-Id: If77c6f4664af13e977035761f9f6698573970d27
2022-09-27 08:32:55 +02:00
Translation updater bot 92584e2759 Localisation updates from https://translatewiki.net.
Change-Id: Ib577f29030525d628bc0c629e50c2ee2b80c78b8
2022-09-26 08:16:44 +02:00
Translation updater bot 87db339287 Localisation updates from https://translatewiki.net.
Change-Id: I88bef48eb28d5e79b0b9afcebe0b0dc9799b8610
2022-09-23 08:30:32 +02:00
Translation updater bot ae7deb41be Localisation updates from https://translatewiki.net.
Change-Id: If338645e0ccb2d349a442e3151bb6ec654733074
2022-09-21 08:30:04 +02:00
Translation updater bot a1a0f8b00a Localisation updates from https://translatewiki.net.
Change-Id: I884506f98bb22eb0c3ac46884482c6df6edbd440
2022-09-20 08:35:03 +02:00
Translation updater bot 55b7dac3e6 Localisation updates from https://translatewiki.net.
Change-Id: I5cb12b5423304482ec3aa3a51a7cd70a6a1e9693
2022-09-19 08:26:12 +02:00
hmonroy ff38ef2400 [Realtime Preview] Disable when screen is narrow on load
When realtime preview first loads set `enabled` to false when screen is too narrow.

Bug: T313210
Change-Id: I555c5c2115ad09ef51ec9d7f1143a445b23144ca
2022-09-15 17:04:40 -07:00
Translation updater bot cf5df8c757 Localisation updates from https://translatewiki.net.
Change-Id: I3f0cb4841f3673c74c2f871a9f43a39b2898a15b
2022-09-15 09:55:52 +02:00
Translation updater bot d10217ff3c Localisation updates from https://translatewiki.net.
Change-Id: Ib867eaf5cef5a0ef943f97be6fb359f37c0ec525
2022-09-14 10:32:16 +02:00
Translation updater bot 698404f2f8 Localisation updates from https://translatewiki.net.
Change-Id: Id09a722fc40e329c5551f2b3e9a9c363c959294a
2022-09-13 09:26:32 +02:00
Translation updater bot bc85e7e563 Localisation updates from https://translatewiki.net.
Change-Id: I6e831c93427a76ba49188f173fad9f8a4a0c2317
2022-09-12 09:37:23 +02:00
Sam Wilson e979df2036 [Realtime Preview] Only clone part of the #wikiPreview element
The #wikiPreview element can contain other child elements such
as the already-removed one of .previewnote but also (on category
pages) category lists, which we don't want.

This changes to only clone the specific content element. We could
just create this in JS, but don't at this point have access to
the lang direction.

Bug: T315558
Change-Id: Ifcd02e9cf005e00c8dd69df162893fb673117231
2022-09-12 14:29:10 +08:00
Translation updater bot 6efc549714 Localisation updates from https://translatewiki.net.
Change-Id: I37351c6027bc65b7400bcfee32fd02f653c3cfa9
2022-09-08 10:00:12 +02:00
Translation updater bot 3e5721509c Localisation updates from https://translatewiki.net.
Change-Id: I3f3acd353c4cfcc1ba484374a17f7f7e25341bb7
2022-09-07 09:55:25 +02:00
Translation updater bot fbb253df6e Localisation updates from https://translatewiki.net.
Change-Id: I57fa4ffede5a9ba862acbde789c6ba3df5b3e547
2022-09-06 09:40:01 +02:00
Translation updater bot 3a31a25871 Localisation updates from https://translatewiki.net.
Change-Id: I48a613606dedc46f20527c0b4155e5878c9754f7
2022-09-05 10:12:22 +02:00
Translation updater bot d01e9f6b45 Localisation updates from https://translatewiki.net.
Change-Id: Ib26b800fa9d8c107e0a1a11b83843b9134a92ba3
2022-09-01 09:35:10 +02:00
Translation updater bot eb9a889976 Localisation updates from https://translatewiki.net.
Change-Id: I132a6dbd086ab16e604a3138ead3c1536c151b1e
2022-08-29 09:16:17 +02:00
samtar 15a64e2faa RealtimePreview.less: Add position: relative to preview class
Add `position: relative` to .ext-WikiEditor-realtimepreview-preview`
per this suggestion (T315049#8174670) by Matma Rex.

Bug: T315049
Change-Id: I70813f68ffd74fab4978127ecee9bd557d467ebb
2022-08-29 04:43:56 +00:00
Translation updater bot acc4def9da Localisation updates from https://translatewiki.net.
Change-Id: I84436595a4a4fb2327cc6f67c46644a1427e8687
2022-08-24 08:25:18 +02:00
Translation updater bot 42f2247be5 Localisation updates from https://translatewiki.net.
Change-Id: I3b2040dc58d3578111561ca8647055d675d06078
2022-08-22 08:24:25 +02:00
Translation updater bot b0d96f7dbc Localisation updates from https://translatewiki.net.
Change-Id: I784d0d9a7c2592c64383b3feb7aee702cbe26885
2022-08-19 08:30:54 +02:00
jenkins-bot 3b46163d52 Merge "RealtimePreview.js: Respect prefers-reduced-motion" 2022-08-17 23:01:00 +00:00
Translation updater bot ea17aec21b Localisation updates from https://translatewiki.net.
Change-Id: Ic18dae385eafd97297bde6902d2a60fb8d38db23
2022-08-17 08:25:33 +02:00