mediawiki-extensions-Discus.../includes
Amir Sarabadani 320da37512 Fix static cache access
Currently, DT is making more than 30 exact queries back to back in every
request. It is clear the caching is completely broken.

It is because when the properties don't exist (majority of the cases),
it returns an empty array making the caching noop.

Tested in mwdebug1002 and it fixes the issue.

Bug: T364693
Change-Id: I182ae121999df1a04cfb7399bc49891587a37074
2024-05-12 18:23:41 +02:00
..
Actions Use namespaced classes 2023-12-11 16:38:02 +01:00
Hooks Fix static cache access 2024-05-12 18:23:41 +02:00
Notifications Replace deprecated ChangeTags method calls with ChangeTagsStore 2024-04-01 09:00:39 +08:00
ThreadItem Clean up handling of <span class="mw-headline"> 2024-04-20 00:16:45 +00:00
ApiDiscussionToolsCompare.php ApiDiscussionToolsCompare: Show nice error for deleted revisions 2024-04-26 03:54:31 +02:00
ApiDiscussionToolsEdit.php Fix autosubscribe on new pages with $wgDiscussionToolsAutoTopicSubEditor = 'discussiontoolsapi' 2024-03-27 00:51:14 +01:00
ApiDiscussionToolsFindComment.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
ApiDiscussionToolsGetSubscriptions.php Remove 'internal' flag from ApiDiscussionToolsSubscribe/GetSubscriptions 2023-08-07 15:14:58 +01:00
ApiDiscussionToolsPageInfo.php Remove the "offset" from getHeadlineNodeAndOffset() 2024-04-20 00:34:32 +02:00
ApiDiscussionToolsPreview.php Simplify preg_replace_callback in ApiDiscussionToolsPreview 2023-10-30 09:12:21 +01:00
ApiDiscussionToolsSubscribe.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00:00
ApiDiscussionToolsTrait.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
ButtonMenuSelectWidget.php Show thread metadata in section headers 2022-06-23 17:17:09 +01:00
CommentFormatter.php Migrate MediaWiki.discussiontools.addReplyLinks to statslib 2024-05-05 13:59:04 +00:00
CommentModifier.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
CommentParser.php Clean up handling of <span class="mw-headline"> 2024-04-20 00:16:45 +00:00
CommentUtils.php Merge "Clean up handling of <span class="mw-headline">" 2024-04-30 16:48:56 +00:00
ContentThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
DatabaseThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ImmutableRange.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
LanguageData.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00: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
ResourceLoaderData.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
ServiceWiring.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
SpecialDiscussionToolsDebug.php Use namespaced classes 2023-12-11 16:38:02 +01:00
SpecialFindComment.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00: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 Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ThreadItemStore.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
TopicSubscriptionsPager.php TopicSubscriptionsPager: Fix exception when no subscriptions 2024-04-15 21:03:55 +02:00
TreeWalker.php Move some doc comments to real type hints 2024-03-11 14:13:17 +01:00