Commit graph

2308 commits

Author SHA1 Message Date
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
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
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
Translation updater bot bba574b131 Localisation updates from https://translatewiki.net.
Change-Id: I0d0351102c4bb5f2184eaffbfae76c0dc21c7a00
2023-12-11 10:44:05 +01:00
Translation updater bot adf617ad3a Localisation updates from https://translatewiki.net.
Change-Id: Ic1075ccf684ea218f51b8e6202e5f8e168f43c1b
2023-12-08 14:46:40 +01:00
Translation updater bot 4568e84f96 Localisation updates from https://translatewiki.net.
Change-Id: I275a79f95015693399b48f4b2c3771809139b843
2023-12-07 10:03:17 +01:00
Translation updater bot 68e9ff1a25 Localisation updates from https://translatewiki.net.
Change-Id: I662031bcb7e4e175c20b2b48490cd8a0932cfa8a
2023-12-05 09:15:51 +01:00
Translation updater bot 46e4d5cc47 Localisation updates from https://translatewiki.net.
Change-Id: I2d2dd79d9b3cc1462d322513643bf8472b365aed
2023-12-04 09:06:07 +01:00
Fomafix 5c73e6ddb5 Use MediaWiki\ResourceLoader\ImageModule instead of ResourceLoaderImageModule
The class name ResourceLoaderImageModule is deprecated since 1.39.

Change-Id: I56a66756b5601fbc4e96951a1f6b9a96e4c55546
2023-12-01 12:14:25 +00:00
Translation updater bot 9a9189d80e Localisation updates from https://translatewiki.net.
Change-Id: I5b2d7681fed86751484230a8e78aa6b65fabdcdc
2023-12-01 09:41:01 +01:00
jenkins-bot b995791289 Merge "Document generated messages" 2023-11-30 14:37:16 +00:00
jenkins-bot 42698b114b Merge "Remove unused messages" 2023-11-30 14:34:34 +00:00
Ed Sanders 32eaf729f0 Remove jsduck config
This has never been published, and there is very little public API
to publish. Use stanard jsdoc config in ESLint.

sendThanks doesn't need to return false as the return value is
never used.

Change-Id: I02dd9c83511afa5a6e66faf8e96d240eb2464ce3
2023-11-30 12:01:26 +00:00
Ed Sanders 4826b01af6 Update ESLint and fix config
Change-Id: I53da439c547b1931140a407a71284643aa7f5d49
2023-11-30 12:01:26 +00:00
Ed Sanders 1e77d0163f Document generated messages
Change-Id: I89101839f7c056cdd509e000fb0bbc8573f97515
2023-11-30 11:52:11 +00:00
Ed Sanders deeaf16bdb Remove unused messages
Not used since I4c49c12bcf1366.

Change-Id: If0ba3974bae314aa4e646703f46308a7eedfc69d
2023-11-30 11:41:34 +00:00
Ed Sanders f18aee5bbc Move var declarations inline
Change-Id: Ib952bd8a8eb9e0fce9541c4f9336169416593f3e
2023-11-30 10:58:04 +00:00
jenkins-bot fd1380288e Merge "Move onBeforeSpecialMobileDiffDisplay to class MobileFrontendHandler" 2023-11-30 10:17:38 +00:00
Umherirrender 2609a7c0c9 tests: Remove fallback to deprecated MWIntegrationTestCase::$users
getTestUser is there since 1.28, extension requires 1.41

Change-Id: I88a48435f0a1ecd7093af68dd7a4c96274d24d7c
2023-11-26 12:01:03 +01:00