Hooks that might be called early in the request lifecycle (MessageCache::get is invoked whenever a message is parsed) should avoid dependencies on other services as much as possible, to reduce the risk of dependency cycles. Hence, moving onMessageCache__get away from HomepageHooks which has a ton of dependencies.
Description
Description
Details
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T311850 [Epic] FY 2022-23 Growth Maintenance Work | |||
Resolved | None | T320745 [Epic] Q1 FY 2022-23 Growth Maintenance Work | |||
Resolved | Tgr | T314088 Move MessageCache::get hook to a separate hook handler |
Event Timeline
Comment Actions
Change 815687 had a related patch set uploaded (by Kosta Harlan; author: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Move MessageCache::get hook to a separate hook handler
Comment Actions
Change 815687 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Move MessageCache::get hook to a separate hook handler
Comment Actions
Change 825455 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Remove MessageCache::get hook handler from HomepageHooks
Comment Actions
Change 825455 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Remove MessageCache::get hook handler from HomepageHooks