Closed (duplicate)
Project:
Drupal core
Version:
11.0.x-dev
Component:
forum.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
18 Dec 2023 at 07:08 UTC
Updated:
30 Jun 2025 at 04:36 UTC
Jump to comment: Most recent
Comments
Comment #2
quietone commentedFix typo in title
Comment #3
smustgrave commentedComment #5
smustgrave commentedJust moved claro but let me know if that works.
Comment #7
andypostComment #8
andypostIt looks good to go!
Comment #9
smustgrave commentedStill need to move olivero and stable9. But if we agree on the approach should be simple.
Background on the changes I did for hook_theme() was because not all themes had their own full set of forum templates. Claro actually had 4/5.
Comment #10
andypostI find better to keep the same name for libs - less to add to change record
also it needs empty update hook to rebuild registry as files are moved and no need to apply https://www.drupal.org/about/core/policies/core-change-policies/drupal-d...
Comment #11
smustgrave commentedWasn't 100% for that since it was classy code in claro but makes sense to me.
Comment #12
quietone commentedI made the same modifications to the olivero and stable9. If that is the right thing to do then that bulk work is done. However, there are failing tests. Leaving at NW.
Comment #13
smustgrave commentedMoved some more conditions to the hook_theme and updated the css path for olivero.
@Wim Leers did post one question on the Tour related ticket for hook_library_info_alter what should happen if there was a base theme to stable9?
Comment #17
quietone commentedThis was discussed in #need-review-queue-initiative in Slack, https://drupal.slack.com/archives/C04CHUX484T/p1708034907274609.
The conclusion was that this is best done in Drupal 11 when removing the extension from core. This applies to Book, Forum and Tour.
@catch @quietone @wimleers (he/him) so not sure what’s needed to move forward on #3405660: Remove tour from themes any suggestion would be appreciated
I wonder if we can just delete this code?Ah, what code exactly? You mean not even moving the css files to tour, book, forum?What about if we leave the libraries in the themes in Drupal 10, and open an 11.x-only issue to remove it. And the contrib module is responsible for doing whatever it needs to do to look right.
Participants:
larowlan, smustgrave, quietone, catch, lauriii
Adding credit and changing parent.
Comment #18
quietone commentedComment #23
spokjeOut of curiosity and to see if tests would break if we only deleted CSS I opened a new MR.
Deleted forum CSS from themes claro, olivero and stable9 and also from profile umami.
Tests are OK.
Am a bit unsure if this is still postponed now that 10.3.x is opened.
Can we diverge in 11.x for 11.0.x already?
Comment #24
catchYes!
Comment #25
spokjeWoohoo, thanks @catch!
Comment #26
smustgrave commentedSearched themes directory for forum and all css has been removed.
Comment #27
spokjeFound and removed 2 stragglers (
forum-icons.png)Comment #28
spokjeComment #29
quietone commentedI moved these changes into the parent issue so we remove everything at once. I have moved credit over there. I am not sure what the best status is but duplicate seems the best.
Comment #31
quietone commentedUpdate version to the branch this applies to.