Commit graph

2290 commits

Author SHA1 Message Date
Ed Sanders 993afb7439 SpecialThanks: Document generated i18n keys
Change-Id: Iab2de23b68475d17d2a488001a8424b7258acd3e
2024-02-23 16:34:49 +00: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
Translation updater bot 3208ca087f Localisation updates from https://translatewiki.net.
Change-Id: I38890673fc9c3b72572b9bfd654d609cc0141a9f
2023-11-21 08:29:52 +01:00
Translation updater bot 1274f71b50 Localisation updates from https://translatewiki.net.
Change-Id: I672889abcd1ce5b24610dcc8fbdef348424215d7
2023-11-20 08:52:30 +01:00
Fomafix bfe320c2ea Move onBeforeSpecialMobileDiffDisplay to class MobileFrontendHandler
This avoids a hard dependency on extension MobileFrontend.

Change-Id: I7dd3972145c1fbffae9bc58ed0d3157310a53354
2023-11-16 14:46:27 +00:00
jenkins-bot f6d529425b Merge "Implement hook interfaces in Hooks" 2023-11-14 19:09:58 +00:00
Translation updater bot 2646ebf1cb Localisation updates from https://translatewiki.net.
Change-Id: Ie572efdb1ca81fb3ce7abc27e189b4790af67ed0
2023-11-08 13:08:12 +01:00
Fomafix af5658ae05 Implement hook interfaces in Hooks
* BeforeCreateEchoEventHook and
* EchoGetBundleRulesHook from extension Echo and
* BeforeSpecialMobileDiffDisplayHook from extension MobileFrontend.

Change-Id: Icede5f70f988957f245fac1984a63f01fa1d0f44
2023-11-08 11:42:01 +00:00
jenkins-bot 337ff45130 Merge "Replace global config variable" 2023-11-08 04:17:32 +00:00
Fomafix 212c72d5e7 Replace global config variable
Change-Id: Ibe5c6d077ebd1413359c1bcb4b16388874f3f5ea
2023-11-07 21:09:55 +00:00
Fomafix 49beda6416 Replace deprecated global function wfGetDB()
Bug: T330641
Change-Id: I79955bb707e73ef6162ca14d30455732ef12f1f2
2023-11-07 20:40:06 +00:00
Translation updater bot e0662f8a29 Localisation updates from https://translatewiki.net.
Change-Id: I5cbfd526290ceef1c8bd12a99a5bcae9d26c3ca2
2023-11-06 08:58:00 +01:00
Translation updater bot cdb09f929f Localisation updates from https://translatewiki.net.
Change-Id: Ie3779800fc766e4a4aebf69295caed91f3400e61
2023-10-31 09:09:30 +01:00
Translation updater bot a1157414fa Localisation updates from https://translatewiki.net.
Change-Id: I582f78459d515964b4618515d69a080b944ab54c
2023-10-30 17:59:54 +01:00
Translation updater bot d102d74cfd Localisation updates from https://translatewiki.net.
Change-Id: I80b05c0ccb265ca74fe25fdc4f8468c507fd50a6
2023-10-24 09:38:45 +02:00
jenkins-bot 5ca7396e43 Merge "Minerva: Thanks should use Codex classes for thanks link" 2023-10-23 08:35:20 +00:00
Translation updater bot 1da8c455cf Localisation updates from https://translatewiki.net.
Change-Id: I1ad475bfd4d0f43f89dbad620b097703f3ec37f0
2023-10-23 09:51:32 +02:00
Jon Robson f47a195079 Minerva: Thanks should use Codex classes for thanks link
Without this Thanks button will be unstyled on Minerva skin.
In the desktop Minerva diff page, the button should be a progressive button
for consistency with Special:MobileDiff

Testing:
* Check diff mode (AMC disabled)
* history page (AMC enabled)

Bug: T345768
Change-Id: I038cfab627eea2fdf558accbf390a8d2d02153a1
2023-10-19 21:17:08 +00:00
Translation updater bot 1679c7ae3e Localisation updates from https://translatewiki.net.
Change-Id: Ib8b3cf6bb292d846e524cf87c2489d8029a509ca
2023-10-19 08:43:52 +02:00
Translation updater bot 1776992f32 Localisation updates from https://translatewiki.net.
Change-Id: Id16ac77168a18ede8a8649504ea6b399ee630f11
2023-10-09 08:57:11 +02:00