Last modified: 2014-03-24 17:10:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60440, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58440 - Run characterEditStats.php regularly on Translate wikis and publish output somewhere
Run characterEditStats.php regularly on Translate wikis and publish output so...
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nemo
: shell
Depends on:
Blocks: 29782
  Show dependency treegraph
 
Reported: 2013-12-13 09:33 UTC by Nemo
Modified: 2014-03-24 17:10 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2013-12-13 09:33:47 UTC
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.
Comment 1 Nemo 2014-02-25 10:47:55 UTC
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.
Comment 2 PiRSquared17 2014-02-27 16:15:21 UTC
This sounds like a good idea.
Comment 3 Gerrit Notification Bot 2014-03-06 19:39:45 UTC
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
Comment 4 Gerrit Notification Bot 2014-03-19 13:25:20 UTC
Change 117250 merged by Alexandros Kosiaris:
Add cron job to run characterEditStats.php on multilingual wikis weekly

https://gerrit.wikimedia.org/r/117250
Comment 5 Nemo 2014-03-19 14:33:34 UTC
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. :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links