Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
history.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2025 at 23:59 UTC
Updated:
1 Dec 2025 at 16:04 UTC
Jump to comment: Most recent
Comments
Comment #2
mstrelan commentedComment #3
mstrelan commentedComment #5
mstrelan commentedComment #6
mstrelan commentedPostponed on #3542540: Deprecate comment libraries and move to history module due as this depends on changes to CommentLinkBuilder
Comment #7
mstrelan commentedComment #8
mstrelan commentedComment #9
mstrelan commentedRebased for the changes in #3542540: Deprecate comment libraries and move to history module but this is now postponed on #3542528: Deprecate route comment.new_comments_node_links
Comment #10
mstrelan commentedBlocker is in
Comment #11
mstrelan commentedComment #12
dcam commentedI agreed with the idea of using the procedural service call in
HistoryController. So I'm setting this back to Needs Work because of this.Aside from that, it looks good to me. I could get nit-picky about code style in
HistoryTokensHooks::tokens(), but I won't. I know it's because the code was copied faithfully from Comment. And I think it's beneficial for reviewers because it's easy to tell that there's nothing missing.Comment #13
mstrelan commentedUpdated to use
\Drupal::service. I agree with #12, it can always be cleaned up in contrib later.Comment #14
dcam commentedMe either. But who wants to deal with that one site that has it overridden and shows up to find out who broke their stuff?
Feedback has been addressed. I verified that all code was copied from Comment to History correctly. Happy to RTBC this now.
Comment #15
catchOne comment on the MR.
Comment #17
deepakkm commentedComment #18
catchOne stray line of the @todo was still in there, but removed that via gitlab suggestions. Back to RTBC.
Comment #19
smustgrave commentedAssuming #18 meant to RTBC this one?
Comment #23
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!