Commit graph

2997 commits

Author SHA1 Message Date
James D. Forrester 05e230fee4 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I5863af5d7c298ffe7fec38934307465947452958
2023-08-19 14:22:39 +08:00
Translation updater bot 82499b1246 Localisation updates from https://translatewiki.net.
Change-Id: Ibe506248be8cc9e01c7ae9f927fc918220714694
2023-08-18 09:09:36 +02:00
Translation updater bot a77ce714c3 Localisation updates from https://translatewiki.net.
Change-Id: I8d0d32e7a565dadf42fd4b4110cef1da93f2db00
2023-08-17 12:11:03 +02:00
Translation updater bot 2c593a8b7b Localisation updates from https://translatewiki.net.
Change-Id: I7a51052f5d3c2b04aa680ee73bd8dbd0b5c4ccee
2023-08-16 09:12:47 +02:00
Translation updater bot 3bff419651 Localisation updates from https://translatewiki.net.
Change-Id: I65ff15393275df6b594d3f63e6f78fb589c1c388
2023-08-15 08:27:05 +02:00
Translation updater bot ae75750b11 Localisation updates from https://translatewiki.net.
Change-Id: I6f36017180ac3660ea96741ce992b2c64f7e7a5e
2023-08-14 09:18:53 +02:00
Translation updater bot 7646a39679 Localisation updates from https://translatewiki.net.
Change-Id: I793718112cc6ef514fececaeffc2110512e7fe97
2023-08-11 09:02:14 +02:00
jenkins-bot ce46ea62ac Merge "Add missing @param in jquery.wikiEditor.js" 2023-08-10 13:05:30 +00:00
Translation updater bot 2adf690eee Localisation updates from https://translatewiki.net.
Change-Id: I8d61c6039c20239d27910546b915d44cbe11a970
2023-08-10 09:42:30 +02:00
Umherirrender 3c57553f83 Add missing @param in jquery.wikiEditor.js
Change-Id: Ia6922e71075b9fc24d5b194f02131d42642954e3
2023-08-10 00:35:04 +02:00
Translation updater bot 9c8459d6fa Localisation updates from https://translatewiki.net.
Change-Id: Iea1369c4acc41dc68fe347bb8f6d8cbe30a8011a
2023-08-09 09:16:03 +02:00
Translation updater bot 3b3623cb14 Localisation updates from https://translatewiki.net.
Change-Id: I46b63404e0d7bfe48605ef37cd81904838c81228
2023-08-07 08:40:22 +02:00
Translation updater bot 21436f55d6 Localisation updates from https://translatewiki.net.
Change-Id: Ic4debdaa9047375832f18eba7aa52c5596f2f1c8
2023-08-04 09:21:27 +02:00
Translation updater bot 9baf0fdfcb Localisation updates from https://translatewiki.net.
Change-Id: Iaaa149760e8040d4120016bd03406a28ff93b213
2023-08-02 09:04:59 +02:00
Translation updater bot 288d6a10a5 Localisation updates from https://translatewiki.net.
Change-Id: I51948ca81589d6f761082f12644f7bf99ec18a5b
2023-08-01 08:37:26 +02:00
jenkins-bot bfb1f37624 Merge "Make EventLogging code more robust" 2023-07-31 11:51:52 +00:00
Translation updater bot d655f0f7cc Localisation updates from https://translatewiki.net.
Change-Id: I9ab4be458fd24e1ae9a3ce2b600f1f258536763b
2023-07-31 09:02:18 +02:00
thiemowmde de1dbd70ec Make EventLogging code more robust
This code started to fail when executing the FileImporter tests.
FileImporter triggers a hook that ends here.

Two suggestions:
* I think we don't need/don't want to have log entries for PHPUnit
  test runs.
* In test scenarios getSkin() might return null. Since getSkinName
  is also allowed to be null I believe it's fine when we log null in
  such a situation.

Bug: T337270
Change-Id: I9bf946c150d99ab97b4cdf128fac87158c633331
2023-07-28 16:49:42 +02:00
Translation updater bot dafa391b57 Localisation updates from https://translatewiki.net.
Change-Id: I985e78cb5a889d04fae4a7d0b79cb94a143c670e
2023-07-28 09:21:29 +02:00
ksarabia d7993a35b8 Update reference in WikiEditor
Logs data from WikiEditor

Bug: T337270
Change-Id: I69b4ea31397915ce1e90cff91e44b3648d57f389
2023-07-25 10:55:35 -05:00
Translation updater bot 7ee41eae64 Localisation updates from https://translatewiki.net.
Change-Id: Icf9847a953607b1053cec3ddb6f847fadf1c95ca
2023-07-24 09:40:17 +02:00
jenkins-bot 9fb243f128 Merge "RealtimePreview: Set tabindex on realtimepreview-preview" 2023-07-21 06:09:01 +00:00
Translation updater bot 10f4183225 Localisation updates from https://translatewiki.net.
Change-Id: I42f54719f8fee3d32d01e82601367c7f626106a5
2023-07-20 09:34:18 +02:00
Translation updater bot f2a8b5ae5d Localisation updates from https://translatewiki.net.
Change-Id: If344c1638141f094cf3868bd97c23e11f9fb93f2
2023-07-19 09:02:02 +02:00
Translation updater bot df735ad0e6 Localisation updates from https://translatewiki.net.
Change-Id: Ie0eafa0e0d1374b6fc3a7bf9ec08ca83e123a0b3
2023-07-18 09:50:13 +02:00
Translation updater bot 63d9d75aca Localisation updates from https://translatewiki.net.
Change-Id: Idbe31362a1c06fb1fef638c961ae26c23662d6ff
2023-07-17 10:19:19 +02:00
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