[11.x] [Meta] Tasks to remove Statistics

Created on 11 February 2023, over 1 year ago
Updated 20 May 2024, 13 days ago

Problem/Motivation

Track the steps needed to remove extension Statistics from core to contrib. See Remove a core module and move it to a contributed project β†’ of the deprecation policy.

The removal of extension Statistics was approved in 🌱 [Policy] Deprecate Statistics module in D10 and move to contrib in D11 Fixed .

Remaining tasks

  1. Create a child issue, πŸ“Œ Remove Statistics from core Postponed
    • The change record for this issue should include a link to recommendations page, https://www.drupal.org/node/3223395#s-Statistics β†’ . (For example, the CR for removing HAL β†’ )
    • Tag this issue 'Needs release note.'
    • Remove the extension ;-).
    • 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 Statistics is not installed. Statistics 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. πŸ“Œ [meta] Tasks to deprecate Statistics Active
  3. Open an issue, 'Ensure that Statistics 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/Statistics 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 Statistics in the core queue and move either to the contrib project or the relevant core component. If it is moved to contrib make sure to also move any change record. Restore the status to what it was before it was postponed.
  6. Move all core documentation for Statistics 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

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
StatisticsΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024