You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -207,17 +207,16 @@ Data abbreviated for brevity.
207
207
208
208
### Log Observations:
209
209
210
-
Using the Action API, we query for the first log and the last 30 days'.
211
-
212
-
- First Log:
213
-
- Date
214
-
- Last Log:
215
-
- Date
216
-
- User Type: Bot, Missing, None, User
217
-
- Last Month:
218
-
- All Users: Count distinct users
219
-
- Human Users: Count distinct (probably) human users
220
-
- Log Count
210
+
Using the Action API, we query separately for the first month of logs and the last 30 days'. We update the first month annually and the last month approximately monthly.
211
+
212
+
We calculate the following:
213
+
214
+
-`logCount`: Number of logs in range (if any)
215
+
- Date of first and last logs in range (if any); user type (bot or human) of the last log
216
+
- number of users with at least 1 (`allUsers`) and at least 5 (`activeUsers`) records in the logs
217
+
- number of users we think are human with at least 1 (`humanUsers`) and at least 5 (`activeHumanUsers`) records in the logs
218
+
- We categorize the logs into types and save similar information broken out by log type. There are currently 76 log types, plus an UNCLASSIFIED catch-all, ranging from ITEM_CREATE to ACHIEVEMENT_BADGE
219
+
- We categorize the users into BOT, MISSING, HUMAN, or NONE, and save similar information broken out by user type
Get the list of recent changes from a Wikibase instance. The [Recent Changes MediaWiki API is documented here](https://www.mediawiki.org/wiki/API:RecentChanges). A Recent Changes Observation is always calculated for the past 30 days. All change types are included; which are: `edit`, `new`, `log` and `categorize`. An Observation contains the following fields:
|`human_change_count`| Number of changes made by humans as reported by the MediaWiki Recent Changes API when called with the `!bot` flag. |
1380
-
|`human_change_user_count`| Number of unique users found in changes requested with `!bot` flag, derived from all usernames, IP addresses for anonymous edits as well as userid in the "userhidden case". |
1381
-
|`bot_change_count`| Number of changes made by bots as reported by the MediaWiki Recent Changes API when called with the `bot` flag. |
1382
-
|`bot_change_user_count`| Number of unique bots found in changes requested with `bot` flag, derived from all bot/usernames. |
1383
-
|`first_change_date`| Date of first change, no matter if it was made by a human or bot. |
1384
-
|`last_change_date`| Date of last change, no matter if it was made by a human or bot. |
|`human_change_count`| Number of changes made by humans as reported by the MediaWiki Recent Changes API when called with the `!bot` flag. |
1511
+
|`human_change_user_count`| Number of unique users found in changes requested with `!bot` flag, derived from all usernames, IP addresses for anonymous edits as well as userid in the "userhidden case". |
1512
+
|`human_change_active_user_count`| Number of unique users with at least 5 records found in changes requested with `!bot` flag, derived from all usernames, IP addresses for anonymous edits as well as userid in the "userhidden case". |
1513
+
|`bot_change_count`| Number of changes made by bots as reported by the MediaWiki Recent Changes API when called with the `bot` flag. |
1514
+
|`bot_change_user_count`| Number of unique bots found in changes requested with `bot` flag, derived from all bot/usernames. |
1515
+
|`bot_change_active_user_count`| Number of unique bots with at least 5 records found in changes requested with `bot` flag, derived from all bot/usernames. |
1516
+
|`first_change_date`| Date of first change, no matter if it was made by a human or bot. |
1517
+
|`last_change_date`| Date of last change, no matter if it was made by a human or bot. |
0 commit comments