Switch the dependency for the Statistics module from Drupal Core to a contrib module

Created on 22 January 2025, about 1 month ago

Problem/Motivation

💬 Remove dependency on deprecated module Active

Statistics

Statistics
The Statistics module was deprecated in Drupal 10 and removed in Drupal 11. If your site is using the Statistics module, you need to install the contributed Statistics project .

The default .htaccess file changed to remove support for the Statistics module. The htaccess protection is now supplied by the contributed project. Sites using a custom .htaccess file should ensure that the rule, shown below, is removed from their own copy of the file.

# Allow access to Statistics module's custom front controller.
# Copy and adapt this rule to directly execute PHP files in contributed or
# custom modules or to run another PHP application in the same directory.
RewriteCond %{REQUEST_URI} !/core/modules/statistics/statistics\.php$
You must install the Statistics module to install Dashboards statistics.
    The Statistics module is deprecated. 

Proposed resolution

  • Add drupal/statistics with "*" in the composer.josn file.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024