r95710 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95709‎ | r95710 | r95711 >
Date:22:07, 29 August 2011
Author:giovanni
Status:deferred
Tags:
Comment:
fixed type in README.rst, other editing
Modified paths:
  • /trunk/tools/wsor/editor_lifecycle/README.rst (modified) (history)

Diff [purge]

Index: trunk/tools/wsor/editor_lifecycle/README.rst
@@ -43,7 +43,7 @@
4444
4545 1. Fetch user rates using `ratesnobots.sql`::
4646
47 - mysql -BNe < ratesnobots.sql > rates.tsv
 47+ mysql -BN < ratesnobots.sql > rates.tsv
4848
4949 Note: To be able to run this query, you must be able to access an internal
5050 resource of the Wikimedia Foundation, see here for more information:
@@ -62,9 +62,12 @@
6363
6464 SELECT DISTINCT ug_user FROM user_groups where ug_group = "bot"
6565
66 -2. Use `mkcohort` to make cohorts. This will create a file where each line is a
67 - cohort, specified by the first two columns. Columns after the second are the
68 - IDs of users.
 66+2. Use `mkcohort` to define the cohorts. You can specify the temporal resolution
 67+ (yearly, daily, monthly) and other parameters such as minimum edit count and
 68+ minimum lifespan. This will create a tab-separated file where each line is a
 69+ cohort. The cohort specification (period, activity rate) is reported in the
 70+ first two columns. All columns after the first two (if any) represent IDs of
 71+ users.
6972
7073 3. Use `fetchrates` to fetch daily edit counts using the cohort data. See
7174 `sge/rates.sh` if you want to run this query from within the toolserver.

Status & tagging log