Page MenuHomePhabricator

Archive analytics/wikistats
Closed, ResolvedPublicRequest

Description

Reason

analytics/wikistats is no more maintained, the last code is from ~ 2015.

Its replacement is https://gerrit.wikimedia.org/g/analytics/wikistats2

@Milimetric on T113695#5674012 mentioned he has abandoned all patches so I guess we can archive it entirely.

To-do list

  • This task
  • On-wiki documentation
    • Archive documentation on mediawiki.org (https://www.mediawiki.org/wiki/Analytics/Wikistats): replace page contents with {{Archived extension|last revision id before archiving|task=T######}} (for extensions)/{{Archived skin|last revision|task=T######}} (for skins); replace T###### with this task's number.
    • If documentation page was translatable, remove <translate>, visit Special:PageTranslation, and click "remove from translation" (if you don't have the translation administrator right, ask a user who does).
    • Update Wikidata item (provide URL) associated with documentation page
      • add statement Abandonware (Q281039) to instance of (P31) together with qualifier start time (P580) = the YYYY-MM-DD date that you decided to archive extension/skin (generally per edit history)
      • add qualifier end time (P582) = the YYYY-MM-DD (same date as above) to instance of (P31) = MediaWiki extension (Q6805426)/MediaWiki skin (Q21996535)
  • Phabricator
    • Mark all Phabricator tasks for the extension/skin either Declined or Invalid. Add a comment pointing to this task when doing so for reference.
    • Archive Phabricator project <#ProjectX> for the extension/skin.
    • Edit Phabricator project <#ProjectX> description for the extension/skin with a link to this ticket.

Data-Engineering-Wikistats is reused for analytics/wikistats2

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 898745 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] Archive analytics/wikistats

https://gerrit.wikimedia.org/r/898745

sorry we left it open so long. I just have to check with Nemo, I'll reply back within a few days.

I actually have some patches from 2014 which are still relevant and I wish were merged. Like https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118436 .

However I don't currently plan to submit more patches and, given I didn't manage to get my fixes merged in almost 10 years, if I ever resumed working on this the only option would be to fork the repository somewhere else. So I have nothing against the archival (though I don't see any benefit in it either).

+1 to archive then, thanks Federico! And maybe let me know if we can do anything in wikistats 2 to help you out.

What is the replacement to analytics/wikistats? If it exists maybe @Nemo_bis can migrate to it rather than relaying on an abandoned code base?

For the patches, given Nemo is most probably the sole person on earth using wikistats and the patches he wrote have been tested by him, I don't mind restoring and approving them before archiving the repo. Looks like they are:

https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118436[Full dump analysis] Reduce edits_only and reverts_only intricacy
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/92066Archives are downloaded in .txt.gz format: fix matching and opening
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/145862Remove all trailing whitespace (that one might not apply cleanly and I don't think it is worth it)
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118261Comment some path tests which overrode standard ones (has a typo :D)

Then archive it entirely. @Nemo_bis if you reopen and rebase those changes, I am happy to merge them.

What is the replacement to analytics/wikistats? If it exists maybe @Nemo_bis can migrate to it rather than relaying on an abandoned code base?

It is wikistats 2, but sadly with Nuria's departure we haven't prioritized a single change to that in almost 3 years.

For the patches, given Nemo is most probably the sole person on earth using wikistats and the patches he wrote have been tested by him, I don't mind restoring and approving them before archiving the repo. Looks like they are:

https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118436[Full dump analysis] Reduce edits_only and reverts_only intricacy
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/92066Archives are downloaded in .txt.gz format: fix matching and opening
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/145862Remove all trailing whitespace (that one might not apply cleanly and I don't think it is worth it)
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118261Comment some path tests which overrode standard ones (has a typo :D)

Then archive it entirely. @Nemo_bis if you reopen and rebase those changes, I am happy to merge them.

+1

It is wikistats 2, but sadly with Nuria's departure we haven't prioritized a single change to that in almost 3 years.

At least there is an upgrade path for @Nemo_bis :)

For the patches, given Nemo is most probably the sole person on earth using wikistats and the patches he wrote have been tested by him, I don't mind restoring and approving them before archiving the repo. Looks like they are:

https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118436[Full dump analysis] Reduce edits_only and reverts_only intricacy
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/92066Archives are downloaded in .txt.gz format: fix matching and opening
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/145862Remove all trailing whitespace (that one might not apply cleanly and I don't think it is worth it)
https://gerrit.wikimedia.org/r/c/analytics/wikistats/+/118261Comment some path tests which overrode standard ones (has a typo :D)

Then archive it entirely. @Nemo_bis if you reopen and rebase those changes, I am happy to merge them.

+1

@Nemo_bis I have reopened all those changes. May you rebase the series add me as a reviewer once done and I will happily approve them then archive the repo.

@Nemo_bis can you rebase your pending patches to the analytics/wikistats repo and I will happily merge them then archive the repo :)

Change 914713 had a related patch set uploaded (by Hashar; author: Hashar):

[analytics/wikistats@master] Archive repository

https://gerrit.wikimedia.org/r/914713

Change 914713 merged by Hashar:

[analytics/wikistats@master] Archive repository

https://gerrit.wikimedia.org/r/914713

Change 914715 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] Archive analytics/wikistats and drop perl image

https://gerrit.wikimedia.org/r/914715

hashar updated the task description. (Show Details)

I have archived the repository and in Diffusion. Deleted the Github mirror and removed the repository from CI.

Data-Engineering-Wikistats is reused for analytics/wikistats2.

I don't know about documentation or Wikibase updates that might be necessary to complete this task.

Change 914715 merged by jenkins-bot:

[integration/config@master] Archive analytics/wikistats and drop perl image

https://gerrit.wikimedia.org/r/914715

hashar claimed this task.

I could not find anything related in Wikidata. Thus I think the last step is https://www.mediawiki.org/wiki/Analytics/Wikistats which already states:

This page describes the statistics website used between 2003 and 2018. For the current Wikimedia Statistics, go to Wikitech/Wikistats

Change 898745 abandoned by Hashar:

[integration/config@master] Archive analytics/wikistats

Reason:

Done by I5efe586c37ca6c3042e15bd35f17f6e730196465

https://gerrit.wikimedia.org/r/898745