wiki.techinc.nl/includes/Rest/i18n
Máté Szabó c4e9f987f1 rest: Return a 400 for invalid render IDs
Why:

- The REST API takes an optional renderid param when converting HTML
  back to source wikitext, which is user-provided and may be invalid.
- Invalid render IDs cause an InvalidArgumentException to be thrown that
  causes a 500 response.

What:

- Introduce a new error message for invalid render IDs in the REST API.
- Return a 400 with this new error message for HTML reverse-parses with
  an invalid render ID.

Bug: T385568
Change-Id: I062419fe8952329a39781a49cdca2e94c3996447
(cherry picked from commit cd1d42a5066e4bcb9b9d4ed9b4f7714fd428fea3)
2025-02-04 14:54:50 +00:00
..
ar.json Localisation updates from https://translatewiki.net. 2024-11-19 06:32:07 +01:00
ast.json
awa.json
bn.json
bs.json
ca.json
ce.json
de.json Localisation updates from https://translatewiki.net. 2024-10-17 09:04:59 +02:00
diq.json
el.json
en.json rest: Return a 400 for invalid render IDs 2025-02-04 14:54:50 +00:00
es.json Localisation updates from https://translatewiki.net. 2024-05-10 09:01:03 +02:00
et.json Localisation updates from https://translatewiki.net. 2024-05-31 08:14:12 +00:00
fr.json Localisation updates from https://translatewiki.net. 2024-11-26 06:31:54 +01:00
gl.json Localisation updates from https://translatewiki.net. 2024-10-18 09:04:00 +02:00
he.json Localisation updates from https://translatewiki.net. 2024-12-03 06:32:00 +01:00
hu.json Localisation updates from https://translatewiki.net. 2024-04-04 09:04:41 +02:00
ia.json Localisation updates from https://translatewiki.net. 2024-10-17 09:04:59 +02:00
id.json Localisation updates from https://translatewiki.net. 2024-05-06 07:38:21 +00:00
ie.json
it.json Localisation updates from https://translatewiki.net. 2024-10-17 09:04:59 +02:00
ja.json Localisation updates from https://translatewiki.net. 2024-06-10 09:04:02 +02:00
ko.json Localisation updates from https://translatewiki.net. 2024-11-12 06:32:03 +01:00
lb.json Localisation updates from https://translatewiki.net. 2024-05-03 09:04:43 +02:00
mk.json Localisation updates from https://translatewiki.net. 2024-10-18 09:04:00 +02:00
nb.json Localisation updates from https://translatewiki.net. 2024-07-22 09:04:30 +02:00
nl-informal.json
nl.json Localisation updates from https://translatewiki.net. 2024-11-19 06:32:07 +01:00
pl.json Localisation updates from https://translatewiki.net. 2024-06-17 09:11:28 +02:00
pt-br.json
pt.json Localisation updates from https://translatewiki.net. 2024-11-19 06:32:07 +01:00
qqq.json rest: Return a 400 for invalid render IDs 2025-02-04 14:54:50 +00:00
roa-tara.json
ru.json Localisation updates from https://translatewiki.net. 2024-11-12 06:32:03 +01:00
sh-latn.json
sl.json Localisation updates from https://translatewiki.net. 2024-05-13 09:05:15 +02:00
sv.json
th.json
tr.json Localisation updates from https://translatewiki.net. 2024-03-11 08:06:17 +01:00
uk.json Localisation updates from https://translatewiki.net. 2025-01-14 06:31:37 +01:00
wa.json
zh-hans.json Localisation updates from https://translatewiki.net. 2024-11-12 06:32:03 +01:00
zh-hant.json Localisation updates from https://translatewiki.net. 2024-10-18 09:04:00 +02:00