mediawiki-extensions-Discus.../includes/Hooks
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
..
BetaPreferenceHooks.php Use HookHandlers for BetaFeatures hook 2023-08-16 05:23:25 +00:00
DataUpdatesHooks.php Use namespaced Title 2023-08-19 20:16:15 +02:00
DiscussionToolsAddOverflowMenuItemsHook.php overflow menu: Add hooks for registering and interacting with items 2023-10-05 15:50:33 +01:00
DiscussionToolsHooks.php overflow menu: Add hooks for registering and interacting with items 2023-10-05 15:50:33 +01:00
DiscussionToolsTermsOfUseMessagesHook.php Create HookRunner class and the hook handler interface 2023-06-04 20:12:56 +02:00
EchoHooks.php Use HookHandlers for Echo hook 2023-08-16 00:39:43 +02:00
HookRunner.php overflow menu: Add hooks for registering and interacting with items 2023-10-05 15:50:33 +01:00
HookUtils.php Fix static cache access 2024-05-13 09:49:11 +00:00
InstallerHooks.php Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
PageHooks.php Always pass whole OutputPage (as IContextSource) to postprocess functions 2023-10-09 15:41:28 +01:00
ParserHooks.php Remove unnecessary use of Parser 2023-08-12 00:23:49 +02:00
PreferenceHooks.php Use HookHandlers for BetaFeatures hook 2023-08-16 05:23:25 +00:00
RegistrationHooks.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
ResourceLoaderHooks.php Centralize EditAttemptStep logging code in WikimediaEvents 2023-03-18 13:26:10 +00:00
TagHooks.php Convert more self:: to static:: 2022-06-14 22:53:00 +01:00