In T297132#7555212, @matmarex wrote:I think this is actually a bug in the core PageProps class, which we are using. In PageProps::getProperties(), there's a ton of code that does caching, but only when the property is set – nothing is cached if the property we're querying for isn't present on the page. This seems unexpected to me.
Description
Description
Details
Details
Related Changes in Gerrit:
Customize query in gerrit
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T432486 FY2026-2027 ST6.4 Logged-in user performance (tracking) | |||
| Open | Krinkle | T432488 [Hypothesis] ST6.4.2 Increase MediaWiki backend capacity for logged-in pageviews (tracking) FY2026-2027 | |||
| Open | None | T302623 2022-2026: Improve Backend Pageview Timing | |||
| Restricted Task | |||||
| Open | None | T347123 Reduce database queries on parsercached logged-out page views (Sep 2023) | |||
| Resolved | Krinkle | T297300 PageProps doesn't cache result when it is false |
Event Timeline
Comment Actions
When this is done we should revert https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/744889 (or at lest remove the caching part of it, and keep the utility function).
Comment Actions
Change #1327225 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/core@master] Page: Improve tests of PageProps service class
Comment Actions
Change #1327236 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/core@master] Page: Fix absence caching when combined with multiple properties
Comment Actions
Change #1327225 merged by jenkins-bot:
[mediawiki/core@master] Page: Clean up tests of PageProps service class
Comment Actions
Change #1327671 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/core@wmf/1.47.0-wmf.16] Page: Clean up tests of PageProps service class
Comment Actions
Change #1327236 merged by jenkins-bot:
[mediawiki/core@master] Page: Fix absence caching when combined with multiple properties
Comment Actions
Change #1336609 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/core@wmf/1.47.0-wmf.18] Page: Fix absence caching when combined with multiple properties
Comment Actions
Change #1336609 merged by jenkins-bot:
[mediawiki/core@wmf/1.47.0-wmf.18] Page: Fix absence caching when combined with multiple properties