diff options
author | Máté Szabó <mszabo@wikimedia.org> | 2025-04-01 23:54:39 +0200 |
---|---|---|
committer | Máté Szabó <mszabo@wikimedia.org> | 2025-04-04 15:46:44 +0200 |
commit | 95485727e1d333be0995ff8b48b5f6e5593918b2 (patch) | |
tree | c32803ff762078e4bdd19bd42f7cb17bf09084e6 /includes/languages/LanguageJa.php | |
parent | 7c0b1c06e558029664f6a02a8abccc53b7ed20eb (diff) | |
download | mediawikicore-95485727e1d333be0995ff8b48b5f6e5593918b2.tar.gz mediawikicore-95485727e1d333be0995ff8b48b5f6e5593918b2.zip |
storage: Push CategoryMembershipChangeJob in ChangeTrackingEventIngress
Why:
- CategoryMembershipChangeJob is currently enqueued in
DerivedPageDataUpdater.
- This job is responsible for creating RC entries for category
membership changes that resulted from an edit, so it is semantically a
better fit for ChangeTrackingEventIngress instead.
- Idf6625d3e737e4a225648b0fd81cc929b095d315 unintentionally changed the
logic to enqueue this job for both direct content changes and
reconciliation requests, rather than only direct content changes.
Since the job creates RC entries, it should only be enqueued
as a result of direct content changes.
What:
- Move the logic of enqueueing CategoryMembershipChangeJobs into
ChangeTrackingEventIngress.
- Only enqueue CategoryMembershipChangeJobs for direct content changes
and update tests accordingly.
- Resolve the old TODO of making this logic MCR-aware by checking
whether any changed content slot supports categories as a precondition
of enqueueing the job, rather than only checking the main slot.
Bug: T390636
Change-Id: Icfe33ccc6cfa391e65ecae21d8c1d575dc247ee3
Diffstat (limited to 'includes/languages/LanguageJa.php')
0 files changed, 0 insertions, 0 deletions