Commit graph

225 commits

Author SHA1 Message Date
Translation updater bot 00ed1d04ab
Localisation updates from https://translatewiki.net.
Change-Id: I674d42aa9c4190989cbbda90c52bfef671cdeaba
2024-11-04 07:26:32 +01:00
Translation updater bot d315ef0b32
Localisation updates from https://translatewiki.net.
Change-Id: Ib20187b4839af75b8ee8c4cbbd40df5564be9fb6
2024-06-17 08:55:33 +02:00
Translation updater bot fff65e5e04 Localisation updates from https://translatewiki.net.
Change-Id: Ibfc945510eedf80bec748d2c20c643c6f462f597
2024-06-03 08:34:11 +02:00
Translation updater bot 96215eb27d Localisation updates from https://translatewiki.net.
Change-Id: Ia2f6fdb7b952a6446dd94a0056a729944a297cd6
2024-02-19 07:30:33 +01:00
Translation updater bot 047b9d7125 Localisation updates from https://translatewiki.net.
Change-Id: I4f5e2af18b4f81083d0e5d7bd51ac16bbdd3b5a7
2024-01-22 07:53:31 +01:00
Translation updater bot 6acf90f286 Localisation updates from https://translatewiki.net.
Change-Id: I97a31f595a41198e8177d7be3bca1ff8ff42e4a4
2023-12-05 08:23:39 +01:00
Translation updater bot ea6ae759d6 Localisation updates from https://translatewiki.net.
Change-Id: Ibc8f15730d36c12aa6cb7fd30d7fb44ea3f7b5cf
2023-11-07 08:12:01 +01:00
Translation updater bot 1619506b72 Localisation updates from https://translatewiki.net.
Change-Id: I2c7b8a65d95e78e30edb6934d4cdfe9fcae304d2
2023-10-03 07:39:58 +02:00
Translation updater bot 0e0e502363 Localisation updates from https://translatewiki.net.
Change-Id: I8b55d9af7cfca98d98bbd3dfacc6ecde40a8c5f4
2023-09-26 08:04:26 +02:00
Translation updater bot 9e1fce1de6 Localisation updates from https://translatewiki.net.
Change-Id: I4ec54bcc87406eb559132fd7962a8080f9392a23
2023-09-19 08:13:54 +02:00
Translation updater bot 7d9a3f77db Localisation updates from https://translatewiki.net.
Change-Id: I21b0c541ae8e964f88d6671fb0fa012d0a643a2e
2023-08-22 07:37:29 +02:00
Translation updater bot 4537d18425 Localisation updates from https://translatewiki.net.
Change-Id: Ia268672bde97b9f7bed799f0b32364527058a675
2023-07-25 08:59:14 +02:00
Translation updater bot 875fdc0bb3 Localisation updates from https://translatewiki.net.
Change-Id: I8fef0e0c2d7acb3d94819c73bee3c0a902dd910d
2023-06-06 07:17:15 +02:00
Translation updater bot d9ed513a56 Localisation updates from https://translatewiki.net.
Change-Id: Id4b40e6b235d896657d9662da2f52d45f5752e46
2023-05-30 07:03:30 +02:00
Translation updater bot 6ca19286aa Localisation updates from https://translatewiki.net.
Change-Id: Ia2ffec7366675fe54ac17aa8070598947f5e9ec2
2023-04-25 07:34:31 +02:00
Translation updater bot 53abc1fe8c Localisation updates from https://translatewiki.net.
Change-Id: I0a16605c80154c583b6a8b370ba3ca6147350de0
2023-04-11 07:32:05 +02:00
Translation updater bot cd27ee36c1 Localisation updates from https://translatewiki.net.
Change-Id: I804b6785eff32a5a8c936bf9f72540716b0c2ccd
2023-03-28 07:52:35 +02:00
Translation updater bot 6eb4dc0812 Localisation updates from https://translatewiki.net.
Change-Id: Ic9f007c52abb4a0aa71fc2fef59eff7507936b35
2023-03-21 08:24:43 +01:00
Translation updater bot 20d7908705 Localisation updates from https://translatewiki.net.
Change-Id: Ida56ef26f48081eccc034e608ea69da1c9fff6c9
2023-02-28 07:07:46 +01:00
Translation updater bot 7c2526462b Localisation updates from https://translatewiki.net.
Change-Id: I67a0a8ecfc5e03359d08516dba9ed5043a9fc8ad
2023-02-21 07:06:46 +01:00
Translation updater bot 65d89c9e32 Localisation updates from https://translatewiki.net.
Change-Id: I9c03dd639c20153d5087eb6c7aeea5aaebc0ab28
2023-01-31 07:28:48 +01:00
Translation updater bot 13cebbe97f Localisation updates from https://translatewiki.net.
Change-Id: I9e3e722aabb6d1a2a56e0586829e8a6db5622f14
2023-01-10 07:49:46 +01:00
Translation updater bot 5db30b4069 Localisation updates from https://translatewiki.net.
Change-Id: Ia92d59ea8a982d5064ae76434dbeba1c55517acd
2022-12-27 07:14:05 +01:00
Translation updater bot 945e541099 Localisation updates from https://translatewiki.net.
Change-Id: Ic58b6cb7ddc190111014ebfe1a9710cb592ec2b7
2022-12-20 07:58:13 +01:00
Translation updater bot 0cff43af86 Localisation updates from https://translatewiki.net.
Change-Id: Iea267480b6404a22af9bbe589708ebe9ab845a80
2022-12-13 07:30:14 +01:00
Translation updater bot 92264383f7 Localisation updates from https://translatewiki.net.
Change-Id: I204856ddbd294109505fc18f3f633f2a8469523f
2022-11-17 07:19:13 +01:00
Translation updater bot 32e4a7673d Localisation updates from https://translatewiki.net.
Change-Id: I009e612a9f3fc487c8322453864d8a72a2860830
2022-11-03 07:23:18 +01:00
Translation updater bot 83742ca3ac Localisation updates from https://translatewiki.net.
Change-Id: Ib6cec8b963cdba58732341a81185032fb6063e70
2022-10-27 08:05:24 +02:00
Translation updater bot 60883a13e8 Localisation updates from https://translatewiki.net.
Change-Id: I4fe40dd892c59d991fbee62222e1b8efb166f920
2022-10-20 07:39:57 +02:00
Translation updater bot a940153b99 Localisation updates from https://translatewiki.net.
Change-Id: Iaa29cfa5b1ac0eba1aecd917a328a5a94de4e43c
2022-10-06 07:14:16 +02:00
Translation updater bot a7436c6292 Localisation updates from https://translatewiki.net.
Change-Id: Ia896f9952f6853ec5f30965d97a17b40e1949cb7
2022-09-22 16:19:10 +02:00
Translation updater bot 5eef7c3036 Localisation updates from https://translatewiki.net.
Change-Id: Ic25644afabb8deb1993c36c83fc29896fa99b1de
2022-08-31 09:36:04 +02:00
Translation updater bot dc70a0e599 Localisation updates from https://translatewiki.net.
Change-Id: I5174c709e38f5be173c144a2d0eaba31fdf33bb5
2022-08-29 09:16:16 +02:00
jenkins-bot 9ac8195013 Merge "Improve error messages for RESTBase errors" 2022-08-26 18:41:17 +00:00
Translation updater bot e51c055a8e Localisation updates from https://translatewiki.net.
Change-Id: I0ab0a136de50bf078343139d7593140bccaca92a
2022-08-22 08:24:24 +02:00
Bartosz Dziewoński f2df5dc7b9 Improve error messages for RESTBase errors
For error responses, the response body should be JSON containing a
'detail' key with a human-readable error message.

Remove old debug logging for T233320, it's no longer needed and it
stopped working on WMF wikis anyway (again, previously it was broken
due to T234564).

Change-Id: I64d0b934c90c7e9582e5433ae7a1b9ed2bc0c9a2
2022-08-19 21:13:35 +00:00
Translation updater bot 57c8f01b7b Localisation updates from https://translatewiki.net.
Change-Id: I18ba55242d9a97efa35d029409fee01945815d52
2022-08-12 08:44:28 +02:00
Bartosz Dziewoński 8d735bbd9e Create Parsoid helper for use outside of action API
ApiParsoidTrait depends on some ApiBase methods, which is inconvenient
when one wishes to access Parsoid HTML outside of the action API. Move
the bulk of the code into a new class ParsoidHelper, which doesn't.

Replace the uses of methods:
* dieWithError: throw a different kind of exception where it makes
  sense, or change the method to return a StatusValue instead of
  throwing where it doesn't
* getPageLanguage: use Title::getPageLanguage() or pass as parameter
* getConfig: pass to constructor
* getLogger: pass to constructor
* getRequest: pass the only required part to constructor,
  leave some other API-specific code using it in ApiParsoidTrait

Bug: T314565
Change-Id: I90656cc74bb1cb1f2f3c82ad51cfb164cb8a4a4b
2022-08-10 23:20:59 +00:00
Translation updater bot 799c0b86ea Localisation updates from https://translatewiki.net.
Change-Id: I5851d2c86d2ae51dbc44f791387d40456e93667b
2022-08-01 08:23:49 +02:00
Translation updater bot f4497c9ddd Localisation updates from https://translatewiki.net.
Change-Id: I480a16f3d6d2a3ca838deb4fd4bc0879d940f686
2022-07-25 08:39:48 +02:00
Translation updater bot fc85f06dd1 Localisation updates from https://translatewiki.net.
Change-Id: Id75506d4b41ba26ad25fa5de5c3861808a0ad975
2022-07-18 08:16:01 +02:00
Translation updater bot 1e580da334 Localisation updates from https://translatewiki.net.
Change-Id: I3aff596dc6bb3cc20576f18d815d9a5d018cbc5c
2022-07-11 09:50:54 +02:00
Translation updater bot 02377f4b0f Localisation updates from https://translatewiki.net.
Change-Id: I506d3ec0d599761c21219b021b249fc764d10b45
2022-06-16 09:25:52 +02:00
Translation updater bot d1d4ba4636 Localisation updates from https://translatewiki.net.
Change-Id: I203d6ffdbb8608075c3639c1c1db4ccbb04ed272
2022-06-13 08:29:25 +02:00
Translation updater bot 80092b55d9 Localisation updates from https://translatewiki.net.
Change-Id: I5ad276330fc551b0e261691568412d4c6b8b163b
2022-06-09 08:17:53 +02:00
Translation updater bot 17715f6c43 Localisation updates from https://translatewiki.net.
Change-Id: Ie349c19df6cd5f16dbbc5430e82eff4a0e5d2ef9
2022-06-08 08:28:23 +02:00
Translation updater bot 6e9387b626 Localisation updates from https://translatewiki.net.
Change-Id: If32d7acf8ab1e264d247709e616224a65ff136ea
2022-06-06 09:27:08 +02:00
Translation updater bot b659eafe5a Localisation updates from https://translatewiki.net.
Change-Id: I5ea61db27522e37b3b57d190ba7c39d8ce07fac2
2022-06-02 08:15:48 +02:00
Translation updater bot 107727eb12 Localisation updates from https://translatewiki.net.
Change-Id: Iee387e366d5478f52f23c6f208b7934b02e658db
2022-05-30 09:24:35 +02:00
Translation updater bot 0bee2c6ce9 Localisation updates from https://translatewiki.net.
Change-Id: I4ff19a0e7896443cff27f009009accab6ca25592
2022-05-26 08:52:21 +02:00