Commit graph

215 commits

Author SHA1 Message Date
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
Translation updater bot 2ec96bf0c4 Localisation updates from https://translatewiki.net.
Change-Id: Ie86751a61ed86f341df7e3d772db1e87a9ffd2d9
2022-05-25 08:33:17 +02:00
jenkins-bot bb7f777ffe Merge "Zero-configuration VisualEditor for mainline" 2022-05-25 00:01:15 +00:00
Translation updater bot 24a00796fb Localisation updates from https://translatewiki.net.
Change-Id: I3445bd329c8262e14d0a6e1de94d2bb02fd952a1
2022-05-23 08:17:53 +02:00
C. Scott Ananian 57dc7aa630 Zero-configuration VisualEditor for mainline
Now that Parsoid's ServiceWorkers have been merged to core, this adds
support for "zero configuration Visual Editor" to the master branch.
Like earlier zero-conf work, this does not use RESTBase for stashing
or for reliable selective serialization.  Future integration work
with ParserCache will reintroduce this functionality.  Nevertheless,
this implementation should have feature parity with the "loopback interface"
zero conf VE we've been shipping since 1.35.

Bug: T305108
Change-Id: I7b5b4a6d16b07914f947cbaf498ad1d3cf2447a5
2022-05-20 15:01:09 -04:00
Translation updater bot 2ddbb6b708 Localisation updates from https://translatewiki.net.
Change-Id: I792241e3d2b2b9f12faa059b020e99ba13f215fa
2022-04-18 10:07:08 +02:00
Translation updater bot 3fa5423da0 Localisation updates from https://translatewiki.net.
Change-Id: I76e4ce6b17980b1b36473ac91902794486ff6e55
2022-04-14 08:27:34 +02:00
Translation updater bot 87c2ee3c79 Localisation updates from https://translatewiki.net.
Change-Id: I43f5f3e5152560d1072420d22dc603c47f373aa9
2022-04-13 08:33:05 +02:00
Translation updater bot d221b2dd22 Localisation updates from https://translatewiki.net.
Change-Id: Ie37a0e143826387d29bb7f61484ef0a58a099f35
2022-04-08 08:28:37 +02:00
Translation updater bot 5648463ceb Localisation updates from https://translatewiki.net.
Change-Id: I98ff381676e55788a223ff6792d2649c5f1fe45c
2022-04-04 09:35:24 +02:00
Translation updater bot 83db4cc3e8 Localisation updates from https://translatewiki.net.
Change-Id: I1a16df64dc1f00c793ae9368cea1efa6f5d5daea
2022-03-28 08:22:24 +02:00