Commit graph

3221 commits

Author SHA1 Message Date
Translation updater bot 6747b69833 Localisation updates from https://translatewiki.net.
Change-Id: I219275bcf96e5a047fca5d86d42ee24cd110273e
2023-07-14 09:36:21 +02:00
Translation updater bot c711d94cce Localisation updates from https://translatewiki.net.
Change-Id: Ie4109172fc900316eb2bdd6f2ebf8f9bfc92a693
2023-07-13 10:50:41 +02:00
samtar 9c56922e25
RealtimePreview: Set tabindex on realtimepreview-preview
Set tabindex="1" on `ext-WikiEditor-realtimepreview-preview`

Bug: T317108
Change-Id: I06847674ebccf05e8cb45492056222e13cd00ef8
2023-07-12 13:36:31 +01:00
Translation updater bot 2b7077f534 Localisation updates from https://translatewiki.net.
Change-Id: I2f33bd20c40011c2288279d87b5a808187b02a1f
2023-07-12 08:56:43 +02:00
jenkins-bot 8319dc0071 Merge "Add deprecation log message for autoMsg" 2023-07-11 20:14:45 +00:00
Jon Harald Søby dbdc003abb Add deprecation log message for autoMsg
Add a deprecation log message for the autoMsg and autoSafeMsg
functions in WikiEditor. The console output details what needs
to change, and adds a link to on-wiki search for the affected
string.

Depends-On: I2835341867df85552579ea6927cd39a6f889fa6b
Change-Id: I2aea96c8a4097f34b02301083f9db0be95042243
2023-07-11 19:45:59 +00:00
Translation updater bot 3b0b3ddf9e Localisation updates from https://translatewiki.net.
Change-Id: Ib16f93a51d96c1de926a3fa1d9d1bf703943ff8f
2023-07-11 08:50:56 +02:00
Translation updater bot 71d221a100 Localisation updates from https://translatewiki.net.
Change-Id: I1dd3bed0a85efda90329861c7b95989def37eebd
2023-07-10 09:39:25 +02:00
Translation updater bot b5763390a1 Localisation updates from https://translatewiki.net.
Change-Id: I3664dcd589e7b86039618f70d57aedd34a147a5c
2023-07-07 09:11:42 +02:00
jenkins-bot 1414dced9d Merge "Stop using autoMsg and use mw.messages directly instead" 2023-07-06 16:16:02 +00:00
Jon Harald Søby 499c71114a Stop using autoMsg and use mw.messages directly instead
WikiEditor has a clever functionality where you can enter a message
key directly by using [key]Msg syntax in the object definition. While
that may have been a clever approach, it led to tons of messages
in this extension having to be marked as RawHtmlMessages because
they could potentially be parsed as HTML. Thus I am replacing all
of these instances with using mw.message explicitly instead, with
the necessary method attached.

The autoMsg (and its cloned autoSafeMsg) functions have had FIXME
comments attached since 2018 saying that these methods are
unnecessarily complex and should be replaced with using mw.messages
directly.

This solves a lot of problems for translators in Translatewiki, and
hopefully makes the code more straightforward and easier to understand
for those reading it down the line.

I would like to remove the autoMsg and autoSafeMsg functions
altogether, but their functionality is still in use in a few
extensions (and potentially on-wiki code), so we would have to
clean up that first.

Bug: T154891
Bug: T294760
Change-Id: I2835341867df85552579ea6927cd39a6f889fa6b
2023-07-06 10:39:24 +02:00
Translation updater bot 075a7cf989 Localisation updates from https://translatewiki.net.
Change-Id: I451be13ad4d6b34789143051fd8b29735fa6fe69
2023-07-06 10:17:13 +02:00
Translation updater bot 8ec88126dd Localisation updates from https://translatewiki.net.
Change-Id: I621e8044f7c2a6871ac919211d89513c8fe1e724
2023-07-03 10:17:14 +02:00
jenkins-bot c4a284259e Merge "Move reference-specific settings to the Cite extension" 2023-06-28 23:43:49 +00:00
Translation updater bot 11306309b5 Localisation updates from https://translatewiki.net.
Change-Id: I6e4df4859e24081e1dd665e507ad53ecb41b7fb0
2023-06-26 12:41:34 +02:00
Jon Harald Søby 5c18abff00 Move reference-specific settings to the Cite extension
These config settings were specific to the Cite extension,
and are misleading on wikis that don't have that extension
installed. Move the functionality to the Cite extension
instead.

Bug: T339973
Depends-On: Ib3fdc897dd3330f69c5832003d4c3cb1e6dba2f3
Change-Id: Ib619706ddfca724990e1db2d51f12a2eb05f6a72
2023-06-22 14:07:29 +02:00
Translation updater bot 17ac59bfda Localisation updates from https://translatewiki.net.
Change-Id: Iec733b7bd761300bf844eeca6993ffca94b82bcf
2023-06-19 11:08:25 +02:00
Translation updater bot 4c046b5941 Localisation updates from https://translatewiki.net.
Change-Id: Ica4c02046d3a8a3f61dd68135e0ac0f4a5a05459
2023-06-14 13:08:22 +02:00
Translation updater bot cef2dccb3f Localisation updates from https://translatewiki.net.
Change-Id: I9114e3a20d70475ada2a48840ed6ac838b21e9e4
2023-06-12 13:08:37 +02:00
DLynch 3e568552b6 Revert "Remove hacks that avoid duplicate event logging with MobileFrontend"
This reverts commit 929e8463fb.

Reason for revert: we're still seeing double-logging of some events, so this is apparently still needed until we can track down what's causing that.

Change-Id: Ifc32dfc7aa2ca67169759ecd8c278f1aea2dbef8
2023-06-09 15:20:01 -05:00
Translation updater bot fa73b4d7f0 Localisation updates from https://translatewiki.net.
Change-Id: I45012e68eb7a6a2aca357d558857305f9b265df6
2023-06-09 09:15:19 +02:00
Translation updater bot 6acfc20f9c Localisation updates from https://translatewiki.net.
Change-Id: Id8a30db96e8af49d1abeca8463d446519280d87e
2023-06-08 10:41:20 +02:00
Translation updater bot 56f1ba9dce Localisation updates from https://translatewiki.net.
Change-Id: I174f4940f1d3ece36b5936f5667f49f4b3eb2f21
2023-06-05 08:41:55 +02:00
libraryupgrader 4b2be7c719 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I9e76569da0581f1c1cb34d2b36b59334a56d6ae8
2023-06-03 01:55:15 +00:00
Translation updater bot 7ec4bd9d22 Localisation updates from https://translatewiki.net.
Change-Id: If87e8d462034b39281d8b85e8ecd97d6b50b9fde
2023-06-02 09:25:06 +02:00
Translation updater bot 41af41a75e Localisation updates from https://translatewiki.net.
Change-Id: Ieca0c443dbd27de04bfd45ccb3b5caf4b1ad41f5
2023-06-01 08:44:24 +02:00
Translation updater bot 4b87819ec3 Localisation updates from https://translatewiki.net.
Change-Id: Ifc74c3970ddf847f860e6ec41f91abc3a810348b
2023-05-31 08:21:15 +02:00
Translation updater bot cb0f4298fa Localisation updates from https://translatewiki.net.
Change-Id: I226a77e67253d2c3448986017baa376edd43548f
2023-05-30 08:57:29 +02:00
Translation updater bot 2179b22792 Localisation updates from https://translatewiki.net.
Change-Id: I4f4c1e92f06c9df2df3ffbb306dc5688b7d74beb
2023-05-29 10:00:31 +02:00
Translation updater bot 59413a5d23 Localisation updates from https://translatewiki.net.
Change-Id: I65ddad9ce96e20cd650545f1a137310dfa317714
2023-05-25 09:11:19 +02:00
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