Go to file
Bartosz Dziewoński 0b1919af0c Improve handling of Parsoid resource limit exceeded exceptions
Follow-up to 3d9585acbe.

* Avoid deprecated method StatusValue::getErrors()
* Don't use exceptions for control flow
* Don't re-use Parsoid's ResourceLimitExceededException,
  it seems unexpected to me and might limit future refactoring
* Use dieStatus() instead of dieWithException(), which will produce
  better localised error messages
* Add missing error handling in ApiDiscussionToolsThank

Change-Id: Ia032025f92f1c3cc0d62a0f45925dddba93fb42f
2024-11-28 04:09:44 +01:00
.phan Comment thanking 2024-05-28 17:47:09 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-11-21 08:21:42 +01:00
images
includes Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
maintenance Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
modules Fix forwarding promise rejection arguments 2024-11-14 22:32:05 +01:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Use namespaced classes 2024-10-19 23:39:18 +02:00
.eslintignore ESLint: Autofix no-var rule 2024-05-24 16:49:36 +01:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore
.gitreview .gitreview: Remove defaultrebase/defaultbranch 2023-09-09 21:37:34 +00:00
.phpcs.xml build: Rewrite exclude rule Generic.CodeAnalysis.AssignmentInCondition 2024-09-01 02:19:03 +00:00
.stylelintrc.json Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
.svgo.config.mjs build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
CODE_OF_CONDUCT.md
composer.json build: Remove php version from composer.json 2024-11-08 21:10:40 +01:00
COPYING
DiscussionTools.alias.php Add Simplified Chinese special page aliases 2024-06-30 14:22:24 +08:00
DiscussionTools.magic.php Add Simplified Chinese magic word aliases 2024-06-30 15:12:42 +08:00
extension.json Show confirmation prompt if trying to submit a new topic without a title 2024-08-06 09:44:27 -05:00
Gruntfile.js Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
package-lock.json build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
package.json build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
typos.json Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00