Commit graph

2424 commits

Author SHA1 Message Date
Piotr Miazga 7b750929a8 Move Echo hooks to new EchoHooks handler that has no dependencies
Echo hook BeforeCreateEchoEvent is triggered very early in
Setup.php. This causes all dependencies of Thanks/Hooks to be
initialized. One of the places that is affected is the `addWiki.php`
script that tries to redefine the RevisionStore service, but cannot
due to fact it's already initialized.

Both Echo hooks (BeforeCreateEchoEvent and EchoGetBundleRules) do
not require any dependencies, and due to fact that one of those is
initialized early, let's move them to a separate small EchoHooks
class that would handle Echo specific logic.

Bug: T358236
Change-Id: I0e348872ba5dc313325e3f4f296fd84bfb2c785b
2024-04-04 16:39:50 +02:00
Umherirrender 65b0f8b3b7 build: Add stylelint for less file
Change-Id: I87717cd5f1a2aa55f78174d639fe7ba648837172
2024-04-02 01:31:42 +02:00
Translation updater bot f1fffb966b Localisation updates from https://translatewiki.net.
Change-Id: I708f5a67f01cc75c358f9f7c6108f65e5cf065e2
2024-03-29 08:47:27 +01:00
Translation updater bot 40a4b4f3d2 Localisation updates from https://translatewiki.net.
Change-Id: I45e92441b8b241fc92fc0e7841c0bf7755bfe868
2024-03-26 08:21:07 +01:00
Translation updater bot b42536fd9a Localisation updates from https://translatewiki.net.
Change-Id: I3df827b516a889b06b81fd7a2c372e075e3f0443
2024-03-22 08:45:38 +01:00
jenkins-bot 3da20a00ae Merge "Use setGroupPermissions instead of mergeMwGlobalArrayValue" 2024-03-21 20:29:59 +00:00
Fomafix 2d2840376f Use setGroupPermissions instead of mergeMwGlobalArrayValue
Change-Id: I8fd3b18f3d09cf9b4bc8de350896aaccbd0cb001
2024-03-21 19:28:01 +00:00
Translation updater bot a9c7649694 Localisation updates from https://translatewiki.net.
Change-Id: I225956c3f12ff25f0217bab786560261308b17f9
2024-03-21 08:56:43 +01:00
Translation updater bot 38ddfdad72 Localisation updates from https://translatewiki.net.
Change-Id: I414c6afe12bc7de71f1317dd3992b11d032f6d1d
2024-03-20 08:24:41 +01:00
Translation updater bot 53afdd04d5 Localisation updates from https://translatewiki.net.
Change-Id: I459579be2912c11a7b6e588dc96f8d24488cddf9
2024-03-18 08:31:54 +01:00
jenkins-bot 853ca31437 Merge "Inject services in Hooks and MobileFrontendHandler" 2024-03-15 22:24:36 +00:00
Fomafix 4bf74e6415 Inject services in Hooks and MobileFrontendHandler
Hooks::canReceiveThanks is still static, because it is also used in
MobileFrontendHandler.

Change-Id: Idff34ebce914ad37bcaea8de04b3ef5e01d7d98d
2024-03-14 20:27:26 +00:00
Umherirrender 0bcfca3d90 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I79de198b0a5dedb191a96056ccf33eb3b11b3026
2024-03-12 20:52:59 +01:00
Translation updater bot f48ee062e0 Localisation updates from https://translatewiki.net.
Change-Id: Ibc0d5ed165b4b8a3af1c19831c6f47d2ccc0f3e8
2024-03-12 08:25:17 +01:00
Translation updater bot f149781580 Localisation updates from https://translatewiki.net.
Change-Id: Id78906e4367dcb8593d8f7961b43bd655d83a61d
2024-03-08 08:23:47 +01:00
Translation updater bot 6f62074b8d Localisation updates from https://translatewiki.net.
Change-Id: Ie988a5d87fda3590e1bb4c12c95574e20d46ea39
2024-03-07 08:49:21 +01:00
Fomafix ad6496d4fa Use overrideConfigValue instead of setMwGlobals
Change-Id: I22e77c4019cf06796c3a00191bbd7f2e3fd0b254
2024-03-06 20:23:12 +00:00
Translation updater bot ed31e088f8 Localisation updates from https://translatewiki.net.
Change-Id: Iaeaa8054f67f84837f29838adb4c6d51c0005b34
2024-03-05 08:28:28 +01:00
Translation updater bot f89127b081 Localisation updates from https://translatewiki.net.
Change-Id: I535e8a14e303fed339bc335af284c837a21c3d5e
2024-03-04 08:24:18 +01:00
jenkins-bot 8911c1e909 Merge "Switch to ICP and stop using DBAccessObjectUtils::getDBOptions()" 2024-02-29 14:18:58 +00:00
Amir Sarabadani 9d4ccf0db4 Switch to ICP and stop using DBAccessObjectUtils::getDBOptions()
We are getting rid of this

Bug: T354194
Change-Id: I70c613993647f77259ef0ccf7570e3560b66ef56
2024-02-29 09:15:20 +00:00
Translation updater bot ba2d0a99c8 Localisation updates from https://translatewiki.net.
Change-Id: Idbb19436b508c1ccacf0bec3ac36566439f016e0
2024-02-29 08:36:38 +01:00
Translation updater bot ac31054b91 Localisation updates from https://translatewiki.net.
Change-Id: I70cf927f0af9048a58cb8dd91147e1eee3b87488
2024-02-28 08:15:02 +01:00
jenkins-bot 6f84512327 Merge "SpecialThanks: Document generated i18n keys" 2024-02-27 15:44:53 +00:00
Translation updater bot b08d6fa105 Localisation updates from https://translatewiki.net.
Change-Id: I5eec42f81b3267c935483fdc0bf2a0c0479eb439
2024-02-26 08:37:11 +01:00
Ed Sanders 993afb7439 SpecialThanks: Document generated i18n keys
Change-Id: Iab2de23b68475d17d2a488001a8424b7258acd3e
2024-02-23 16:34:49 +00:00
Translation updater bot 3c2025668a Localisation updates from https://translatewiki.net.
Change-Id: I2e851cb26eddccef8ef7153c6805ac61de69925a
2024-02-23 08:45:21 +01:00
Translation updater bot 7a0fd7cef5 Localisation updates from https://translatewiki.net.
Change-Id: I4c2e20c24b00b28c4adf4250b80fd301e588c238
2024-02-19 08:41:09 +01:00
Reedy 76167abd5b Remove usage of writeapi userright
Bug: T294397
Depends-On: Ifad2edc782b36d21c8c67fecde7f011dce02c11b
Change-Id: Ifd3359d003467c2ca0743d05f5f123894d4b5987
2024-02-15 20:44:18 +00:00
Translation updater bot 594cb74552 Localisation updates from https://translatewiki.net.
Change-Id: Ifc105e7d42bcce9eea6ffa90a370d68a1285274e
2024-02-15 13:29:15 +01:00
Translation updater bot 1007330cd4 Localisation updates from https://translatewiki.net.
Change-Id: I0ea2ade0010ab13d7ef221adf99bbc7d3f628c4e
2024-02-14 08:19:29 +01:00
libraryupgrader 14446bc46b build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* debug: 3.2.6, 4.3.4 → 3.2.7, 4.3.4
  * https://github.com/advisories/GHSA-gxpj-cx7g-858c

Change-Id: I2146474e2c88eee539b87829a7e761099c732fc5
2024-02-13 03:30:47 +00:00
Translation updater bot 90dd69e344 Localisation updates from https://translatewiki.net.
Change-Id: I08c2dd916a98a830edbf43b88f16768ae141466a
2024-02-12 14:50:38 +01:00
jenkins-bot ba10b8bfb3 Merge "ThanksQueryHelper: Add ->caller() to query" 2024-02-09 21:06:21 +00:00
Bartosz Dziewoński 3e3e2a40f2 ThanksQueryHelper: Add ->caller() to query
Change-Id: Ifdd1c952fb1bcb4bd03406e5567a19810503265a
2024-02-09 21:31:31 +01:00
Translation updater bot 7db5ee7641 Localisation updates from https://translatewiki.net.
Change-Id: I0b552cf2a327d7301598f0b1ae07c9753ec77713
2024-02-07 08:27:48 +01:00
Translation updater bot c7cf611869 Localisation updates from https://translatewiki.net.
Change-Id: I5208ab9cf8d1fab6d5f66917edd88ddfcf0b3e45
2024-02-05 08:50:36 +01:00
Translation updater bot cebe6199ed Localisation updates from https://translatewiki.net.
Change-Id: Icd5fc7318887f75d4f06cd5c5bf5f4e1a3daaf0a
2024-01-28 16:08:07 +01:00
Umherirrender 40e4bead61 Avoid fatal when thanks ip via Special:Thanks
Bug: T353466
Change-Id: Iac810dc1929b6473c15ec231df0a8f17790991dd
2024-01-23 22:28:02 +01:00
Translation updater bot f7c985bb15 Localisation updates from https://translatewiki.net.
Change-Id: I5356ff0ac1a09fe588f2188955afd1e5963db418
2024-01-18 09:27:25 +01:00
Volker E b4daae5ba2 build: Update 'svgo' to latest v3.2.0 and re-minify SVGs
The latest update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
  relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible
Also unifiying npm command to qua standard notation `minify:svg`.

Bug: T354875
Change-Id: I099da9abda686371acea3207a6121cfe0aa5b937
2024-01-15 22:05:13 +01:00
Translation updater bot 3b639eb78b Localisation updates from https://translatewiki.net.
Change-Id: I1ec9edfbddc6e15130f7d679d9c2769625a9aed5
2024-01-15 08:25:33 +01:00
James D. Forrester 53b4d9e995 extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: I68b07e6f991e489c2c69cd2a49d6ce99b9cb7e91
2024-01-12 08:53:26 -05:00
Translation updater bot 11ffbc33c1 Localisation updates from https://translatewiki.net.
Change-Id: If93892f020ed9390167133707e8f988f7d84e148
2024-01-11 10:06:10 +01:00
Translation updater bot d9254a7638 Localisation updates from https://translatewiki.net.
Change-Id: I9c195a73cfe8eb85c22eaa3415029a9a488c1dcf
2024-01-08 11:31:43 +01:00
Umherirrender f5db77c750 Use namespaced classes
This requires 1.42 for some new names

Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I1b433ab02231087e0f84a734092751ce2cf28b2c
2024-01-04 22:22:56 +01:00
Translation updater bot 8446aef55a Localisation updates from https://translatewiki.net.
Change-Id: Idd0d101fa8f00e9f0b5ec7831ad1cb97058e6a72
2023-12-22 17:46:59 +01:00
Translation updater bot f7c5d52ed9 Localisation updates from https://translatewiki.net.
Change-Id: I8101b3ca5c3f2f5aef6888557b67dd9a3e6515b5
2023-12-21 19:46:01 +01:00
Translation updater bot a52c50195c Localisation updates from https://translatewiki.net.
Change-Id: Ic5c86e17c0e61366b39378d8b7820bc23b5cfc51
2023-12-18 18:19:17 +01:00
Jon Robson 31bcd72898 Do not use deprecated MobileFrontend library, use Codex
Additionally:
* Begin progress of switching codebase to ES6

Bug: T348807
Change-Id: I22d46f0d0d9f5ace7291f4ddedfc515ef69d0835
2023-12-12 17:24:46 +00:00