mediawiki-extensions-Discus.../includes
Amir Sarabadani 66abf96b79 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 09:49:11 +00:00
..
Actions Add null check for str_starts_with 2023-10-06 18:49:28 +02:00
Hooks Fix static cache access 2024-05-13 09:49:11 +00:00
Notifications Use namespaced Title 2023-08-19 20:16:15 +02:00
ThreadItem Merge "Fix exception trying to store comments transcluded from special pages" 2023-08-24 16:36:40 +00:00
ApiDiscussionToolsCompare.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00:00
ApiDiscussionToolsEdit.php Acquire a temporary user username before previewing 2023-08-22 23:42:32 +02:00
ApiDiscussionToolsFindComment.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00:00
ApiDiscussionToolsGetSubscriptions.php Remove 'internal' flag from ApiDiscussionToolsSubscribe/GetSubscriptions 2023-08-07 15:14:58 +01:00
ApiDiscussionToolsPageInfo.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00:00
ApiDiscussionToolsPreview.php Acquire a temporary user username before previewing 2023-08-22 23:42:32 +02:00
ApiDiscussionToolsSubscribe.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:14:36 +00:00
ApiDiscussionToolsTrait.php Acquire a temporary user username before previewing 2023-08-22 23:42:32 +02:00
ButtonMenuSelectWidget.php
CommentFormatter.php Fix "Argument #3 ($isSectionEditable) must be of type bool, null given" 2024-02-09 13:48:12 +00:00
CommentModifier.php Always use the strict equality flag when using in_array 2023-06-06 13:08:00 +01:00
CommentParser.php Use strict comparison with array_search 2023-07-24 18:50:00 +01:00
CommentUtils.php Fix PHP getTitleFromUrl() when $wgArticlePath is '/$1' 2024-05-11 16:46:03 +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 Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
LanguageData.php Support ISO 8601 timestamps in the parser 2023-06-17 11:36:43 -07:00
NodeFilter.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
OverflowMenuItem.php overflow menu: Add hooks for registering and interacting with items 2023-10-05 15:50:33 +01:00
ResourceLoaderData.php Use namespaced Title 2023-08-19 20:16:15 +02:00
ServiceWiring.php Replace uses of UserNameUtils::isTemp with UserIdentityUtils::isTemp 2023-07-26 11:32:27 +01:00
SpecialDiscussionToolsDebug.php SpecialPage::getDescription() should return a Message 2023-09-21 22:10:57 +02:00
SpecialFindComment.php SpecialPage::getDescription() should return a Message 2023-09-21 22:10:57 +02:00
SpecialGoToComment.php Use namespaced Title 2023-08-19 20:16:15 +02:00
SpecialTopicSubscriptions.php SpecialPage::getDescription() should return a Message 2023-09-21 22:10:57 +02:00
SubscriptionItem.php
SubscriptionStore.php SubscriptionStore: Tweak comment to fix Gerrit syntax highlighting 2023-09-14 17:58:16 +02:00
ThreadItemFormatter.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
ThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ThreadItemStore.php ThreadItemStore: Fix rows with itr_items_id=0 corrupted by T339882 2023-09-21 03:51:48 +02:00
TopicSubscriptionsPager.php TopicSubscriptionsPager: Handle invalid titles 2023-09-05 23:40:52 +00:00
TreeWalker.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00