aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HookContainer
diff options
context:
space:
mode:
authorMáté Szabó <mszabo@wikimedia.org>2024-10-23 11:54:10 +0200
committerMáté Szabó <mszabo@wikimedia.org>2024-10-23 11:54:10 +0200
commit83d6c6870c1dca7e063bb4ac82c8675b085cc0fb (patch)
tree53773acd7e9f01a22cb046b49822991033cc7bbc /includes/HookContainer
parente6ed4ce9c7f86cc16e9c1e1b68cd8bc7aff33dde (diff)
downloadmediawikicore-83d6c6870c1dca7e063bb4ac82c8675b085cc0fb.tar.gz
mediawikicore-83d6c6870c1dca7e063bb4ac82c8675b085cc0fb.zip
recentchanges: Use current time for imported revision category changes
Why: - When a revision is imported and the wiki is configured to show category changes in RecentChanges, a CategoryMembershipChangeJob is enqueued that in turn runs CategoryMembershipChange for each category change. - The resulting RC entries use the timestamp of the imported revision, rather than the current time. - If the revision being imported is older than $wgRCMaxAge, this can cause the RC entries to be immediately deleted with a 1/10 chance by a probabilistically enqueued RecentChangesUpdateJob. What: - Use the current timestamp for RC entries derived from CategoryMembershipChange instances created for imported revisions, instead of using the revision's timestamp. Bug: T377932 Change-Id: Id697087b29e76ac64885f8c7a0e670f201474449
Diffstat (limited to 'includes/HookContainer')
0 files changed, 0 insertions, 0 deletions