Go to file
Amir Sarabadani 9bf995fd67 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:31:22 +00:00
.phan ThreadItemStore: Add details to row insertion exceptions 2023-09-14 19:05:04 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-05-06 09:25:34 +02:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Fix static cache access 2024-05-13 07:31:22 +00:00
maintenance Use user_properties.up_value with string in database query 2024-05-02 23:25:20 +02:00
modules Merge "Replace $.extend with Object.assign" 2024-05-02 21:42:02 +00:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Replace $.extend with Object.assign 2024-05-02 16:49:43 +01:00
.eslintignore Add button to reveal lede section on mobile 2022-11-10 22:10:04 +00:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore
.gitreview .gitreview: Remove defaultrebase/defaultbranch 2023-09-09 21:37:34 +00:00
.phpcs.xml Update PHPCS overrides 2024-03-10 22:59:05 +01:00
.stylelintrc.json Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
CODE_OF_CONDUCT.md
composer.json build: Updating composer dependencies 2024-05-06 05:16:37 +00:00
COPYING
DiscussionTools.alias.php Translate DiscussionTools alias into Bengali (bn) 2023-08-19 00:31:46 +00:00
DiscussionTools.magic.php Translate magic words into Bengali (bn) 2023-08-19 00:06:13 +00:00
extension.json Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
Gruntfile.js Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
package-lock.json build: Updating eslint-config-wikimedia to 0.27.0 2024-04-17 03:58:27 +00:00
package.json build: Updating eslint-config-wikimedia to 0.27.0 2024-04-17 03:58:27 +00:00
typos.json Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00