mediawiki-extensions-Discus.../includes
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
..
Actions Use namespaced classes 2024-06-09 00:02:35 +02:00
Hooks Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
Notifications Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
ThreadItem Trim whitespace from truncated heading titles in IDs 2024-05-01 14:20:12 +01:00
ApiDiscussionToolsCompare.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
ApiDiscussionToolsEdit.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsFindComment.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsGetSubscriptions.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsPageInfo.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
ApiDiscussionToolsPreview.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsSubscribe.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsThank.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
ApiDiscussionToolsTrait.php build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-02 06:55:33 +00:00
ButtonMenuSelectWidget.php
CommentFormatter.php Use namespaced classes 2024-10-19 23:39:18 +02:00
CommentModifier.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:59:53 +02:00
CommentParser.php Make use of the modern ??= operator in one more place 2024-11-20 08:13:29 +01:00
CommentUtils.php Fix parsing usernames with + 2024-06-19 17:14:10 +02:00
ContentThreadItemSet.php
ContentThreadItemSetStatus.php Improve handling of Parsoid resource limit exceeded exceptions 2024-11-28 04:09:44 +01:00
DatabaseThreadItemSet.php
ImmutableRange.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
LanguageData.php Use namespaced classes 2024-10-19 23:39:18 +02:00
NodeFilter.php Use type hints for properties, remove PHPCS overrides 2023-10-19 19:31:02 +00:00
OverflowMenuItem.php overflow menu: Add hooks for registering and interacting with items 2023-10-05 15:50:33 +01:00
PageNeverHadThreadsException.php Find comment: limit DB query for page comments, use a custom exception 2024-09-18 11:43:59 -05:00
ResourceLoaderData.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ServiceWiring.php Inject service ContentLanguage into ThreadItemStore 2024-07-03 10:16:27 +00:00
SpecialDiscussionToolsDebug.php Use namespaced classes 2024-10-19 23:39:18 +02:00
SpecialFindComment.php Use namespaced classes 2024-06-09 00:02:35 +02:00
SpecialGoToComment.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
SpecialTopicSubscriptions.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
SubscriptionItem.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
SubscriptionStore.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
ThreadItemFormatter.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
ThreadItemSet.php
ThreadItemStore.php Use namespaced classes 2024-10-19 23:39:18 +02:00
TopicSubscriptionsPager.php Use expression builder instead of raw sql 2024-07-21 23:25:41 +02:00
TreeWalker.php Move some doc comments to real type hints 2024-03-11 14:13:17 +01:00