Page MenuHomePhabricator

Run characterEditStats.php regularly on Translate wikis and publish output somewhere
Closed, ResolvedPublic

Description

The script was introduced in https://gerrit.wikimedia.org/r/#/c/99633/ and I'm told it run in about ten seconds on the biggest wikis (i.e. Meta). Excerpt from today's output:

Character edit stats for last 30 days in Meta

code name edit

fr français 283826
es español 115779
de Deutsch 129287
ru русский 61744
zh 中文 34297
cs čeština 68988
it italiano 80120
nl Nederlands 77557
ja 日本語 24699
id Bahasa Indonesia 61601

We currently don't have any stats on translation activity on Wikimedia wikis: having this run every month/week or so would be very useful. Maybe we can make it post the output on some public dir visible from noc.wikimedia.org as Reedy occasionally does for maintenance scripts and then let someone create a bot to copy them on a Meta-Wiki page.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62833

Details

Reference
bz58440

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:19 AM
bzimport set Reference to bz58440.

I'll submit a patch for this, just a script somewhere in puppet and a cron to be run on terbium or fenari (wherever noc.wikimedia.org is).
Main things I need to figure out:

  • where to take the list of wikis for which to run the script (probably better to focus just on the main multilingual wikis);
  • where to output the text exactly: probably, the home of the user running the script, à la https://noc.wikimedia.org/~reedy/ .

I'm told the unit of the counts is unclear, but that doesn't matter much as long as the counts are (directly) proportional to the activity (or more specifically, as long as the relation is monotonous): we only care about being able to compare how well we're doing compared to the past.

Change 117250 had a related patch set uploaded by Nemo bis:
Add cron job to run characterEditStats.php on multilingual wikis weekly

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

Change 117250 merged by Alexandros Kosiaris:
Add cron job to run characterEditStats.php on multilingual wikis weekly

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

I also created an explanatory header. https://meta.wikimedia.org/wiki/Meta:Babylon/Translation_stats/Report
Closing for now, we'll see in a week if it works. :)