mediawiki-extensions-Discus.../includes/Hooks
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
..
BetaPreferenceHooks.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
DataUpdatesHooks.php Update TODO documentation around parsing 2024-01-10 18:29:40 +00:00
DiscussionToolsAddOverflowMenuItemsHook.php [BREAKING CHANGE] Remove isSectionEditable from overflow hook 2023-10-18 12:56:46 +01:00
DiscussionToolsHooks.php [BREAKING CHANGE] Remove isSectionEditable from overflow hook 2023-10-18 12:56:46 +01:00
DiscussionToolsTermsOfUseMessagesHook.php Use namespaced classes 2023-12-11 16:38:02 +01:00
EchoHooks.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
HookRunner.php Use namespaced classes 2023-12-11 16:38:02 +01:00
HookUtils.php Fix static cache access 2024-05-13 07:32:04 +00:00
InstallerHooks.php Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
PageHooks.php Only include one set of DiscussionTools buttons in the page HTML 2024-03-01 16:51:17 +00:00
ParserHooks.php Properly handle preview scenario for Parsoid rendering 2024-02-14 15:32:47 -06:00
PreferenceHooks.php Use namespaced classes 2023-12-11 16:38:02 +01:00
RegistrationHooks.php Use namespaced classes 2023-12-11 16:38:02 +01:00
ResourceLoaderHooks.php Use namespaced classes 2023-12-11 16:38:02 +01:00
TagHooks.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00