Commit graph

3141 commits

Author SHA1 Message Date
Translation updater bot 837e2d51f8 Localisation updates from https://translatewiki.net.
Change-Id: Ib60cc6c2fae841d90b0ab3394bed493a7b1df753
2023-05-23 08:23:15 +02:00
Translation updater bot fcdbb5a1c2 Localisation updates from https://translatewiki.net.
Change-Id: Id66021e06256045be13da3d7129dc1e1ae3c832f
2023-05-22 08:47:02 +02:00
Translation updater bot 38b18eb2a5 Localisation updates from https://translatewiki.net.
Change-Id: I301a0a8cb606a08a4eaf1b8994b78ba48f993438
2023-05-19 10:43:50 +02:00
Translation updater bot 69b9605575 Localisation updates from https://translatewiki.net.
Change-Id: I888ce9d717f7a44fd29703fe13d0761d6f43d6bf
2023-05-18 10:13:26 +02:00
jenkins-bot ae604ffeca Merge "jquery.cookie is deprecated" 2023-05-17 19:20:52 +00:00
Sam Smith 457366c2cf Hooks: 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. EventLogging::submit()) and using
the Metrics Platform Client (i.e. via
EventLogging::submitMetricsEvent()).

The Metrics Platform Client can mix in additional information -
so-called context attributes [1] - based on the stream configuration.
Since the majority of the default values mixed into each event in
Hooks::doEventLogging() are already known to the Metrics Platform
Client, the majority of Hooks::doMetricsPlatformLogging() is concerned
with remove those values from the event.

[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://wikitech.wikimedia.org/wiki/Metrics_Platform/Creating_a_Stream_Configuration

Bug: T309985
Change-Id: I052159884a9a8b21b3dc9ee01e2cafdbb173ca26
2023-05-16 15:33:06 -06:00
Jon Robson 91425b5383 jquery.cookie is deprecated
Bug: T271995
Change-Id: Ie46361101043ed6816a6f5079043d971c6ab7f52
2023-05-15 14:08:35 -07:00
Translation updater bot fb3b49b8e9 Localisation updates from https://translatewiki.net.
Change-Id: I79e455fef5654622595b23fe4914ae9e5e19af1b
2023-05-15 08:34:11 +02:00
Translation updater bot 19abe57017 Localisation updates from https://translatewiki.net.
Change-Id: I27f870596cc8b5ddda8d3fb3a420cab702c5c7f0
2023-05-11 09:21:27 +02:00
Translation updater bot 4f415662d3 Localisation updates from https://translatewiki.net.
Change-Id: Iff697dec7af9579f98b8fe279e706e2c84f49da9
2023-05-09 08:56:08 +02:00
Translation updater bot 27872b04b1 Localisation updates from https://translatewiki.net.
Change-Id: I802db6f60d0cb11f36c20cb21d7b31b04fcb7ffa
2023-05-08 10:33:47 +02:00
gerritbot 1271e13c56 Update moved class EditPage
See T321882. Moved in Ibefc44eb64aed

Bug: T321681
Change-Id: Ia2582eefeed7c0a70fcc89857fb30995a6c0f1ed
2023-05-06 22:38:36 +00:00
libraryupgrader a4392294fd build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Idaa03a464c1f8ff45eb099de66df37ec50b4285f
2023-05-05 19:29:45 +00:00
Translation updater bot c9ed8f55e6 Localisation updates from https://translatewiki.net.
Change-Id: I70d29098fd88bf4113fc810ae7eee408c5daf226
2023-05-05 10:41:32 +02:00
Translation updater bot 7b83dc0880 Localisation updates from https://translatewiki.net.
Change-Id: I4f014580002a95c5854c31de0726712b22c58817
2023-05-02 09:00:53 +02:00
libraryupgrader e8bae60bf6 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I2535dce25df42c655566aeb820d6bf7bb2d49839
2023-04-29 14:35:21 +00:00
Translation updater bot 087627edeb Localisation updates from https://translatewiki.net.
Change-Id: I159d09a4daec35672f0eeb91d61c51babd8b7ef7
2023-04-24 09:17:36 +02:00
Translation updater bot 91a0c4a05f Localisation updates from https://translatewiki.net.
Change-Id: Ic8c4dd9b32dc93b95fb6267b8efbb4fe537253a1
2023-04-18 09:01:40 +02:00
Translation updater bot 1b7feacb07 Localisation updates from https://translatewiki.net.
Change-Id: Iddf6afc2050027b1e293ff130825bda31fe7a094
2023-04-17 09:16:01 +02:00
jenkins-bot e312f83cb0 Merge "Remove hacks that avoid duplicate event logging with MobileFrontend" 2023-04-14 16:36:02 +00:00
Translation updater bot 9bbf9a7c10 Localisation updates from https://translatewiki.net.
Change-Id: Ia749422dfc750c4a67a126c1f4f82ce2757193bb
2023-04-14 09:27:41 +02:00
jenkins-bot c0458e4fbf Merge "Update EditAttemptStep and VisualEditorFeatureUse for IP masking" 2023-04-13 14:02:25 +00:00
Translation updater bot 22570a9258 Localisation updates from https://translatewiki.net.
Change-Id: Ibe3830b571e898a9e78e6d114262fea4e344436c
2023-04-13 08:47:36 +02:00
Bartosz Dziewoński 0c287ea755 Update EditAttemptStep and VisualEditorFeatureUse for IP masking
Bug: T332437
Bug: T332436
Change-Id: I630822accb1ba7332aeca997fa72d0190ed5e75e
2023-04-11 21:58:42 +02:00
Translation updater bot 60dca3a600 Localisation updates from https://translatewiki.net.
Change-Id: I292e48c0622166e1a6941b39280e35b537f30d37
2023-04-11 09:14:31 +02:00
Translation updater bot 538c4dfda7 Localisation updates from https://translatewiki.net.
Change-Id: I5373293b297e23e856846ed2f8a22c0905520772
2023-04-10 09:47:09 +02:00
Bartosz Dziewoński 929e8463fb Remove hacks that avoid duplicate event logging with MobileFrontend
This reverts 843efa2f46,
no longer needed after I6028fa4a34916a6cd20161009cf5893492286c2d.

Bug: T334263
Depends-On: I6028fa4a34916a6cd20161009cf5893492286c2d
Change-Id: Ie4506d46d350fb53d6d0264763c2d55fc142997e
2023-04-06 22:49:06 +00:00
Bartosz Dziewoński b484833c7d Skip server-side event logging unless WikimediaEvents is installed
The corresponding client-side event logging is implemented in the
WikimediaEvents extension, so logging server-side events only doesn't
make sense.

Bug: T322602
Change-Id: I79b55adca1da0d9abfe60943dfa4f8c86ecb9626
2023-04-06 21:12:04 +02:00
Translation updater bot 7eae49ae09 Localisation updates from https://translatewiki.net.
Change-Id: Ief8ac1238eabecee800bf262283271fde3736933
2023-04-04 09:18:31 +02:00
Translation updater bot 9cd89b3fe9 Localisation updates from https://translatewiki.net.
Change-Id: I95f20c237fd802ee274d0a7903c449c3197d7a56
2023-03-31 09:59:14 +02:00
jenkins-bot 5ff8b01157 Merge "stylelint: Enable selector-pseudo-element-colon-notation" 2023-03-30 07:31:25 +00:00
Translation updater bot 3a24fa3ab1 Localisation updates from https://translatewiki.net.
Change-Id: If20f282bd58bbbc159d2861b42d2917a479fd25a
2023-03-30 09:02:51 +02:00
Umherirrender 6b9eeb34d8 stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix

Change-Id: I5a9835a0faf610d8401b4bb80bae08999d7b9a0e
2023-03-30 01:14:34 +02:00
jenkins-bot bc7a740b5f Merge "styles: Replace 'mediawiki.ui/variables' call with skin variables" 2023-03-29 15:38:31 +00:00
Translation updater bot c6bc4bc4ba Localisation updates from https://translatewiki.net.
Change-Id: I4e2b75d944d66b422bb8be1fd305531793dff2cd
2023-03-29 09:05:12 +02:00
Translation updater bot 72f51b18e7 Localisation updates from https://translatewiki.net.
Change-Id: I89c84096ffb0cc190410c7fde64b45559997da47
2023-03-28 08:41:24 +02:00
Volker E 58e69d97b9 styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' @import with
new skin-aware 'mediawiki.skin.variables.less' standard.
Also
- replacing several static values with new Codex design token featuring
  skin variables.
- reinstate static values only on resizeable drag bar. This is not a
  standardized component yet and will be revisited with further Codex
  component definitions in future.
Bump required MediaWiki core version to v1.41.0.

Bug: T319381
Bug: T332541
Change-Id: I323561894ddf23aa89f51439fc9df2b7642eaca5
2023-03-27 11:26:24 -07:00
jenkins-bot 71f6366371 Merge "Centralize EditAttemptStep logging code in WikimediaEvents" 2023-03-27 15:30:41 +00:00
Translation updater bot a11fa3d42b Localisation updates from https://translatewiki.net.
Change-Id: I2aae81875c8c4b1e00f9df84609e08c054ab97b4
2023-03-27 08:42:12 +02:00
libraryupgrader d387648344 build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * plugin/no-unsupported-browser-features
  * selector-pseudo-element-colon-notation

Change-Id: Ic8777c3c3ca94f3281f62b31e38d1b6d1abcf9aa
2023-03-27 04:54:51 +00:00
Umherirrender cb002bfb9d build: Remove unneeded inline stylelint-disable-next-line
modules/ext.wikiEditor.toolbar.styles.less
 21:2  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables

modules/jquery.wikiEditor.toolbar.less
 243:4  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables

modules/realtimepreview/RealtimePreview.less
 14:2  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables

Follow-Up: I2b9cdca89e4e14e22a6a467efe00d51643962c08
Change-Id: Ied9f6b951380c38dfef3ca4674f5568a338ca01e
2023-03-25 22:21:44 +01:00
Translation updater bot d37b8048c1 Localisation updates from https://translatewiki.net.
Change-Id: I423690bee9116c098c0749a6c9402ffa9839f499
2023-03-24 09:29:16 +01:00
Translation updater bot 42f64a434c Localisation updates from https://translatewiki.net.
Change-Id: If246650c265522e91c5ada4124a9fc5bfcea7216
2023-03-22 09:16:49 +01:00
Umherirrender 330df284d8 build: Remove unneeded inline stylelint-disable-next-line
modules/realtimepreview/RealtimePreview.less
 57:3  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables

modules/realtimepreview/TwoPaneLayout.less
  4:2  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables
 11:3  ✖  Needless disable for "plugin/no-unsupported-browser-features"
--report-needless-disables

Change-Id: I2b9cdca89e4e14e22a6a467efe00d51643962c08
2023-03-21 23:02:20 +01:00
Sam Wilson 97f104d58d Realtime Preview: enable by default
The Realtime Preview feature is already enabled by default on
Wikimedia wikis, and has been for two months.

Bug: T323329
Bug: T327515
Change-Id: I72ac9a4c83d0e7cccacab576c13c08f33616b696
2023-03-21 15:43:27 +08:00
Translation updater bot ba86c395dd Localisation updates from https://translatewiki.net.
Change-Id: I7af24811bbd7530d53c999310de2f9bf8302a77c
2023-03-20 09:03:00 +01:00
Bartosz Dziewoński 414037f7a6 Centralize EditAttemptStep logging code in WikimediaEvents
PHP EditAttemptStep logging code is not moved.

* Use the new mw.track() handlers from WikimediaEvents
* Ensure that 'integration' and 'editor_interface' are set on all
  events, since they're not hard-coded in the handler any more
  (and there are no client-side init events that add defaults)

This must be merged together with WikimediaEvents change
Iace4d53a972396ca5b8713000570cc47c9986034 (but we can't use
Depends-On, because CI requires code here to be removed first).

Bug: T332438
Change-Id: I0ef0a96aafdf89a4ebe32131a85b18c25744bb2c
2023-03-18 13:57:06 +00:00
jenkins-bot 2aae838bac Merge "Realtime Preview: remove Beta Feature and onboarding popup" 2023-03-17 13:52:51 +00:00
Translation updater bot 72fb97c833 Localisation updates from https://translatewiki.net.
Change-Id: I2c5178ccbd19b3e12aba68cff0c0132685230ce4
2023-03-17 09:23:25 +01:00
Sam Wilson 56b4ba8476 Realtime Preview: remove Beta Feature and onboarding popup
Delete almost all code realting to the onboarding popup (blue
pulsating dot) and Beta Feature. Leave only one line to delete
any existing localStorage item that was used to remember the
dismissal of the onboarding popup.

Bug: T327515
Change-Id: I8d05e143858a2269dd6f3302dcc6cee6b0855ffd
2023-03-17 15:22:32 +08:00