Problem/Motivation

This issue is to coordinate and track the steps needed to remove Forum to contrib after it is deprecated. See Remove a core module and move it to a contributed project of the deprecation policy.

The removal of Forum was approved in #1898812: [policy] Deprecate forum module for removal in Drupal 11

Remaining tasks

  1. Create a child issue, #3261653: Remove Forum module
    • The change record for this issue should include a link to recommendations page, https://www.drupal.org/node/3223395#s-forum. (For example, the CR for removing HAL)
    • Tag this issue 'Needs release note.'
    • Remove the extension ;-).
    • Update Update path tests as needed. See Writing Automated Update Tests for Drupal 8 (or later) for details.
    • Remove references from core/phpstan-baseline.neon.
    • Remove any spelling words specific to the extension from the dictionary
    • Check for references in @todo.
    • Handle migration tests.
      • In all the functional tests in migrate_drupal_ui make sure that Forum is not installed. Forum should also be removed from the methods getAvailablePaths() and moved to getMissingPaths() in the tests using those methods.
  2. Deprecate the extension in the current minor development branch. If the next major branch is open, the extension can be removed via a separate patch (to avoid dependent patches), otherwise an issue should be opened to remove the extension once the next major branch is open.
  3. Open an issue, 'Ensure that Forum does not get special core treatment' in the packages.drupal.org issue queue to ensure that the composer namespace for the contributed project matches the core one after removal. This is to allocate the drupal/Forum Composer namespace to contrib extension rather than the core extension.
  4. Manually test upgrading from the core extension to the contrib extension.
  5. Triage core issues for Forum in the core queue and move either to the contrib project or the relevant core component.
  6. Move all core documentation for Forum to the contrib project.
  7. When the issue in https://www.drupal.org/project/project_composer is Fixed update the documentation with the new Composer command.

Release notes snippet

Comments

quietone created an issue. See original summary.

quietone’s picture

Issue summary: View changes

Add manual test step to remaining tasks,

chris matthews’s picture

Since Drupal 10.0.0-beta1 and 9.5.0-beta1 are right around the corner, the Forum module would need to be removed in Drupal 11 (not Drupal 10), correct?

quietone’s picture

papagrande’s picture

Does the postponement mean https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsol... is currently incorrect?

quietone’s picture

@PapaGrande, yes, it looks like it was out of date. I have updated the page.

quietone’s picture

Version: 10.0.x-dev » 11.0.x-dev
gábor hojtsy’s picture

Title: [Meta] Tasks to remove Forum from core and move to contrib » [11.x] [Meta] Tasks to remove Forum from core and move to contrib
Version: 11.0.x-dev » 11.x-dev
Issue tags: +Major version only

There are both major only and minor targeted changes listed here. Not sure how to piece these apart, but moving to "Major versiono only" as per https://www.drupal.org/about/core/blog/new-drupal-core-branching-scheme-... for now.

quietone’s picture

Issue summary: View changes

Everything in this issue should be for 11.0 only. What should be done in 10?

anybody’s picture

Should we move all postponed issues over to the forum module already and set them active again?

https://www.drupal.org/project/issues/drupal?component=forum.module
I think it's important to decide where these bugs can and should be fixed now.

andypost’s picture

Status: Postponed » Needs work

Module removed so docs are left

quietone’s picture

I checked the core and forum issue queue and all issues, except 2, that should be moved have been. I did the move so I am also confident that I checked for any change records that also need to move. I checked that the docs have been moved but they are not in the menu. The composer fixes are complete as well.

To Do
The Forum module is not in the Contributed module documentation on d.o. That is done by the maintainer of the contributed modules documentation.

Triage the following issues and decide if they can be closed and thus stay in core or should move. They both have a commit to core but were re-opened.

quietone’s picture

Forum is in the menu of Core modules at https://www.drupal.org/docs/develop/core-modules-and-themes/core-modules. That needs to be checked when it is in the Contributed modules menu.

quietone’s picture

Status: Needs work » Postponed

I moved the remaining issue to the Forum project.

This is now waiting for the Forum module to be added to the Contributed module documentation on d.o. That is done by the maintainer of the contributed modules documentation. And then, after that the menu link on the 'Core modules' page can be deleted.

quietone credited hansf.

quietone’s picture

Status: Postponed » Fixed

hansf has completed the documentation work.

this is now finished

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

quietone’s picture

Version: 11.x-dev » 11.0.x-dev