mediawiki-extensions-Discus.../includes/Hooks
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
..
ApiHooks.php Use namespaced classes 2024-10-19 23:39:18 +02:00
BetaPreferenceHooks.php BetaPreferenceHooks: Reuse $this->config 2024-07-03 15:14:47 +00:00
DataUpdatesHooks.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
DiscussionToolsAddOverflowMenuItemsHook.php Use namespaced classes 2024-06-09 00:02:35 +02:00
DiscussionToolsHooks.php Use namespaced classes 2024-10-19 23:39:18 +02:00
DiscussionToolsTermsOfUseMessagesHook.php Use namespaced classes 2023-12-11 16:38:02 +01:00
EchoHooks.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
HookRunner.php Use namespaced classes 2024-06-09 00:02:35 +02:00
HookUtils.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
InstallerHooks.php Use namespaced classes 2024-06-09 00:02:35 +02:00
PageHooks.php Pass message parameters as variadic arguments 2024-10-30 21:41:20 +01:00
ParserHooks.php Revert "Invert logic on empty talk page" 2024-08-22 17:48:33 +00:00
PreferenceHooks.php Remove WMF-specific "discussiontools-autotopicsub" settings 2024-06-15 13:05:07 +00:00
RegistrationHooks.php Use namespaced classes 2023-12-11 16:38:02 +01:00
TagHooks.php Use namespaced classes 2024-06-09 00:02:35 +02:00