Commit graph

3164 commits

Author SHA1 Message Date
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
Translation updater bot 45b1eb0b95 Localisation updates from https://translatewiki.net.
Change-Id: I77e20ac462475770fb2fe4316f9cde11abdc2b0a
2023-03-16 09:28:36 +01:00
Translation updater bot d57e0bd89a Localisation updates from https://translatewiki.net.
Change-Id: I7ca397568e22c2ade3897784c8faca3292151135
2023-03-15 08:50:58 +01:00
libraryupgrader e14dd3afa7 build: Updating eslint-config-wikimedia to 0.24.0
Change-Id: Ida614ed45fa7dfcef3d164287eb0bbc23386f420
2023-03-13 06:30:14 +00:00
libraryupgrader 9ef518c4c9 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: Ifd6e842481d5c18169461f1cfe019c3a8a73cb57
2023-03-12 14:20:59 +00:00
David Lynch 843efa2f46 Don't do logging if MobileFrontend is active for the current page
Visiting a ?action=edit URL can, depending on user settings, result in
the MobileFrontend overlay appearing on top of WikiEditor. In these
cases, don't log anything.

Bug: T320281
Change-Id: Ib98d2cd6f2e541423e5aeebd3093bad97d6fcc4f
2023-03-07 11:58:43 -06:00
Translation updater bot 609e1e066a Localisation updates from https://translatewiki.net.
Change-Id: I82b6f46c426ce2de196ac183a568252dc2e565fa
2023-03-01 08:25:13 +01:00
Translation updater bot 714a11de60 Localisation updates from https://translatewiki.net.
Change-Id: Ia9db9c33b57c4e9520e54d2b34b7191e8da6a22b
2023-02-27 08:28:35 +01:00
Translation updater bot 6d98e1dff4 Localisation updates from https://translatewiki.net.
Change-Id: I92cfcdbc31da6a39ac2396b99cf5b86291bb5008
2023-02-24 09:01:01 +01:00
Translation updater bot f2af380926 Localisation updates from https://translatewiki.net.
Change-Id: I7f2d07237ae9021207cb6c0920d58b33bec6d124
2023-02-21 08:22:07 +01:00
Translation updater bot be17bd06c4 Localisation updates from https://translatewiki.net.
Change-Id: Idfca3fb096757ee1c5974c141b43642329c5e80f
2023-02-20 09:47:40 +01:00
Translation updater bot 2b93128a9f Localisation updates from https://translatewiki.net.
Change-Id: I922f26ec9c7260a84a1744de758f82b068b9b0fc
2023-02-17 08:56:57 +01:00
Translation updater bot 21e7d38ba6 Localisation updates from https://translatewiki.net.
Change-Id: I7da07296662210876476b7e874c07ff4220539b9
2023-02-13 08:31:28 +01:00
Translation updater bot 0f92823cf2 Localisation updates from https://translatewiki.net.
Change-Id: Ib604be4e38e1f326dcd3b6e8e1d639e529970ac6
2023-02-10 08:44:54 +01:00
Translation updater bot 7f236c8756 Localisation updates from https://translatewiki.net.
Change-Id: I99252ac45116d09b87bb090539234625a92b039d
2023-02-09 10:13:00 +01:00
Translation updater bot 3a07eddf83 Localisation updates from https://translatewiki.net.
Change-Id: I42de1503bcae02e2d378af5e9ac20910c412a2c7
2023-02-08 08:40:52 +01:00
Translation updater bot 1e0b533724 Localisation updates from https://translatewiki.net.
Change-Id: Icde2b16afc310436c8f5244b7f04a2e88f362d00
2023-02-06 08:46:47 +01:00
jenkins-bot 912a741b20 Merge "Styles: Replaces deprecated mixins prefixes with unprefixed CSS property" 2023-02-02 21:23:00 +00:00
Translation updater bot 2de2ecaae4 Localisation updates from https://translatewiki.net.
Change-Id: I0b05fb706afff3793a45fb8cfc86aeb1493fa8fd
2023-02-01 09:19:06 +01:00
Translation updater bot 6959b0e8c0 Localisation updates from https://translatewiki.net.
Change-Id: Id5432b79a9e6cff7081d28a944f508af851ae47e
2023-01-30 08:31:08 +01:00
Wandji69 e97ae24dcd Styles: Replaces deprecated mixins prefixes with unprefixed CSS property
Bug: T308351
Change-Id: I42abaff93661bdab234faacb5830bedc6ec725be
2023-01-29 10:33:01 +01:00
Translation updater bot 2e4e04fa14 Localisation updates from https://translatewiki.net.
Change-Id: I86a85ad8d232b3e775fa090fefe9db61b65e27fd
2023-01-23 08:24:30 +01:00
Translation updater bot 21d102bfea Localisation updates from https://translatewiki.net.
Change-Id: If8346a510e0d18c702a64b97d5d6c3a320fb7906
2023-01-20 08:43:11 +01:00
Translation updater bot d1c475377d Localisation updates from https://translatewiki.net.
Change-Id: I88db16190be962ef9f68d59fe1dde091075d4ccf
2023-01-18 08:30:51 +01:00
Translation updater bot 74448ef6c3 Localisation updates from https://translatewiki.net.
Change-Id: I8aee3fe655a07634e86799bf0f6da8d9a38696db
2023-01-17 08:08:25 +01:00
Translation updater bot c75363ed5c Localisation updates from https://translatewiki.net.
Change-Id: I9da79504a621d6e69eb63ae66c81cc303b973764
2023-01-16 08:29:45 +01:00
Translation updater bot 29eec031d2 Localisation updates from https://translatewiki.net.
Change-Id: I5d77fd4331d7a73d50270d6a850b5127e34df138
2023-01-13 08:56:21 +01:00
Sam Wilson 68c6d366ce Add config var to disable Beta Feature
Add new $wgWikiEditorRealtimePreviewBeta configuration variable
to make it possible to turn off the RTP Beta Feature even when
the BetaFeatures extension is installed.

Bug: T323033
Change-Id: Ib79f4eaee9cee7404ff883f5e0685610d9dba9d9
2023-01-09 13:08:55 -05:00