RTC PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
20 May 2025

The data gathered by the Joomla stats plugin is hopelessly useless. If a site owner chose the option to send the stats "never send" then we never receive any stats ever again.

The option to send the stats "never send" might have been made with Joomla 3.5 back in 2013 and we have never received any data for that site since. The site admin might have changed numerous times since then and they wont even know about the stats plugin.

All of this makes the data we have not fit for purpose.

personally I would make this reset happen on every minor release (approx every 6 months) but to be less controversial this PR makes the reset happen on the next major release only.

Summary of Changes

This PR resets the params for the plugin so that any site updating to joomla 6 will be asked again if they are willing to help the Joomla project by submitting their site stats.

Testing Instructions

Code review or
With a joomla 5.4 site make sure the stats plugin is set to "never send" data and use a prebuilt package in this PR to update a site joomla 6

Expected result AFTER applying this Pull Request

On completion of the update you are asked the question about submitting stats

image

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 20 May 2025
avatar brianteeman brianteeman - change - 20 May 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2025
Category SQL Administration com_admin Postgresql
avatar brianteeman brianteeman - change - 20 May 2025
The description was changed
avatar brianteeman brianteeman - edited - 20 May 2025
avatar brianteeman brianteeman - change - 20 May 2025
The description was changed
avatar brianteeman brianteeman - edited - 20 May 2025
avatar brianteeman
brianteeman - comment - 20 May 2025

(an alternative would be to just change the stored param if it is set to never send to ask again. This way only sites set to "never send" would be asked the question if they want to send stats. I did not go for this option as I think its good practice to ask for permission to send stats every x years. In the same way that a cookie is not set forever but for a period of time)

avatar brianteeman brianteeman - change - 20 May 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-05-20 08:59:35
Closed_By brianteeman
Labels Added: PR-6.0-dev
avatar brianteeman brianteeman - close - 20 May 2025
avatar brianteeman
brianteeman - comment - 20 May 2025

I am going to close the PR. There is zero need for the statistics plugin going forward as I see now that all the same data is collected by the new automated update service and that is provided for everyone that uses it and as long as you are using the service the collected data is always kept up to date. Making the stats gathered by the automated update service far more accurate and useful than the stats plugin with its send once and never send options

avatar brianteeman brianteeman - change - 20 May 2025
Status Closed New
Closed_Date 2025-05-20 08:59:35
Closed_By brianteeman
avatar brianteeman brianteeman - change - 20 May 2025
Status New Pending
avatar brianteeman brianteeman - reopen - 20 May 2025
avatar brianteeman
brianteeman - comment - 20 May 2025

re-opened as even though the data collected is the same people think there is a different use so we should have both

avatar C-Lodder
C-Lodder - comment - 21 May 2025

Personally, I'd go as far as completely removing the plugin.
Everytime I've seen the stats plugin raised in conversation, the words "useless" or "inaccurate" have been used.

Things like minimum PHP/MySQL versions for major releases is surely determined by the industry standard, or whatever the project feel is right moving forward.

First part of the plugin description is:

We want to increase the compatibility of our Joomla! software with our user's server settings

But the stats plugin doesn't even collect PHP extensions/settings, only the version, and
Unit testing is already performed using multiple PHP versions.

avatar brianteeman
brianteeman - comment - 21 May 2025

Personally, I'd go as far as completely removing the plugin.

I agree with you, especially as the autoupdate server will collect the exact same information but thats an argument that is lost

avatar softforge softforge - test_item - 30 May 2025 - Tested successfully
avatar softforge
softforge - comment - 30 May 2025

I have tested this item ✅ successfully on 4aeab81

Tested with the patch and the popup came back. Thanks for the work on this


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45498.

avatar exlemor exlemor - test_item - 30 May 2025 - Tested successfully
avatar exlemor
exlemor - comment - 30 May 2025

I have tested this item ✅ successfully on 4aeab81

I was able to successfully test this PR.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45498.

avatar QuyTon QuyTon - change - 31 May 2025
Status Pending Ready to Commit
avatar QuyTon
QuyTon - comment - 31 May 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45498.

avatar Bodge-IT Bodge-IT - change - 2 Jun 2025
Labels Added: RTC
avatar Bodge-IT Bodge-IT - close - 11 Jun 2025
avatar Bodge-IT Bodge-IT - merge - 11 Jun 2025
avatar Bodge-IT Bodge-IT - change - 11 Jun 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-06-11 12:41:13
Closed_By Bodge-IT
avatar Bodge-IT
Bodge-IT - comment - 11 Jun 2025

Thanks @brianteeman and testers @exlemor & @softforge

Add a Comment

Login with GitHub to post a comment