Page MenuHomePhabricator

Crunch stats and data for WLM-SE 2019
Closed, ResolvedPublic

Description

Create regular stats for Wiki Loves Monuments 2019 in Sweden.

Event Timeline

It looks as though my stats script has finally bitten the dust. Something has changed on the WMF side so when I run the script I get an api error.

Specifically the requests for prop=imageinfo with iiprop=user|extmetadata and generator=categorymembers ends up giving the following error after a while:

{
  "servedby": "...",
  "error": {
    "info": "[XadzewpAMEEAAEbO9GcAAADC] Caught exception of type WMFTimeoutException",
    "errorclass": "WMFTimeoutException",
    "code": "internal_api_error_WMFTimeoutException"
  }
}

Since the code is OLD it has come to the stage where it should be rebuilt from scratch (and pywikibot) rather than attempting a repair. If doing that we should also look to see which of the generated data we actually make use of.

There is still stats at wikiloves etc. for us to use though.

@Lokal_Profil Should this be changed to update tools for stats, or can it be closed?

@Lokal_Profil Should this be changed to update tools for stats, or can it be closed?

I think this task can be closed. Instead we should probably open one about determining which stats to extract fro WL-events and how to extract them.

Jopparn claimed this task.