mediawiki-extensions-Discus.../includes
Amir Sarabadani 9e27d8506f 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-13 07:32:04 +00:00
..
Actions Use namespaced classes 2023-12-11 16:38:02 +01:00
Hooks Fix static cache access 2024-05-13 07:32:04 +00:00
Notifications Replace deprecated ChangeTags method calls with ChangeTagsStore 2024-04-01 09:00:39 +08:00
ThreadItem Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
ApiDiscussionToolsCompare.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00: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 now redundant PHPDoc blocks 2024-03-10 23:53:04 +00: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 Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
CommentModifier.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
CommentParser.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
CommentUtils.php Add explicit parentheses around mixed boolean operator 2024-03-23 00:52:30 +01: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 Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
TreeWalker.php Move some doc comments to real type hints 2024-03-11 14:13:17 +01:00