Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
statistics.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2023 at 10:12 UTC
Updated:
30 Jun 2025 at 05:12 UTC
Jump to comment: Most recent
Comments
Comment #2
quietone commentedComment #4
quietone commentedComment #5
quietone commentedComment #6
anybodyAny updates on this?
https://www.drupal.org/project/statistics still doesn't exist, and core issues for the statistics module are blocked.
(No hurry, just a friendly reminder as I wanted to implement a pseudo field for statistics (#3064152: Separate `statistics` pseudo field from the general `links` field))
Comment #7
quietone commentedI've been searching core for more instances and found the following that need to be investigated. The command I used was
grep --exclude-dir={vendor,node_modules,statistics} -riw 'statistics' core | grep -vi migrat | grep -vi "drupal[6|7].php" | nlwhich I gradually reduced to
grep --exclude-dir={vendor,node_modules,statistics,comment,views,views_ui,forum,update,locale} -riw 'statistics' core | grep -vi migrat | grep -vi "drupal[6|7].php" | nlhttps://git.drupalcode.org/project/drupal/-/blob/11.x/core/assets/scaffo...
https://git.drupalcode.org/project/drupal/-/blame/11.x/core/lib/Drupal/C...
https://git.drupalcode.org/project/drupal/-/blame/11.x/sites/default/def...
https://git.drupalcode.org/project/drupal/-/blame/11.x/core/modules/trac...
https://git.drupalcode.org/project/drupal/-/blame/11.x/core/modules/syst...
Comment #8
quietone commentedComment #9
catchComment #10
quietone commentedComment #11
fgmAbout step 1: "Begin finding someone to maintain the contrib version of the extension", since statistics happens to tie in with actual work I have for this year, I volunteer for that role.
As mentioned on #3341091: [11.x] [Meta] Tasks to remove Statistics, I created the subtree split, and pushed it to https://github.com/fgm/statistics until the contrib project can be created, at which point I'll push it there.
Comment #12
quietone commentedChanged the parent of #3416612: [11.x] Remove statistics from htaccess to the removal meta issue because the change to .htaccess would break existing sites using Statistics.
Comment #13
quietone commentedI found another usage in a test, \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest. When the color module was removed from core this test was changed, it was not done as part of the deprecation of the module. I have added it to the removal issue
Comment #14
quietone commented@fgm, thank you for working on the creation of the contrib project!
Comment #15
quietone commentedComment #16
quietone commentedComment #17
fgmThe contrib Statistics project now has a build working for both 10.3.x and 11.x. Time to create a release ?
Comment #18
catch@fgm a statistics release would be great - once we've marked statistics deprecated, we can move onto the next step of updating database fixtures for Drupal 11.
Comment #19
fgm@catch: does it have to be a 1.0.0, or would a beta be good enough ? I'm a bit wary of creating a stable release without a testing period. But if it's necessary for core to move on, no big deal.
Comment #20
catch@fgm it needs to be a stable release before 10.3.0 is released so that people can actually update to it from core smoothly. Fine to have a short beta window before that of course.
Comment #21
fgmBeta released : https://www.drupal.org/project/statistics/releases/1.0.0-beta1
Comment #22
quietone commentedUnfortunately, I only noticed that there was a Statistics beta release about two days ago. The issue to deprecate was updated and committed 11 hours ago.
So, this part of the process is complete! This is also the last extension to be deprecated in 10.3.x
Thanks everyone!
Comment #24
quietone commented