8.4 KiB
8.4 KiB
1 | Field class | Field name | Data type | Comment |
---|---|---|---|---|
2 | Event_global | wiki_db | string | enwiki, dewiki, eswiktionary, etc. |
3 | Event_global | event_entity | string | revision, user or page |
4 | Event_global | event_type | string | create, move, delete, etc. Detailed explanation in the docs under #Event_types |
5 | Event_global | event_timestamp | string | When this event ocurred |
6 | Event_global | event_comment | string | Comment related to this event, sourced from log_comment, rev_comment, etc. |
7 | Event user | event_user_id | bigint | ID of the user that caused the event. Null if the user is anonymous or if from a revision where the user has been revision deleted. |
8 | Event user | event_user_text_historical | string | Historical username (IP address for anonymous user) of the user that caused the event. Null for revisions where the user has been revision deleted. |
9 | Event user | event_user_text | string | Current username of the user that caused the event. Null for anonymous users (the IP is stored in event_user_text_historical). Null for revisions where the user has been revision deleted. |
10 | Event user | event_user_blocks_historical | array<string> | Historical blocks of the user that caused the event |
11 | Event user | event_user_blocks | array<string> | Current blocks of the user that caused the event |
12 | Event user | event_user_groups_historical | array<string> | Historical groups of the user that caused the event |
13 | Event user | event_user_groups | array<string> | Current groups of the user that caused the event |
14 | Event user | event_user_is_bot_by_historical | array<string> | Historical bot information of the user that caused the event, can contain values name or group |
15 | Event user | event_user_is_bot_by | array<string> | Bot information of the user that caused the event, can contain values name or group |
16 | Event user | event_user_is_created_by_self | boolean | Whether the event_user created their own account |
17 | Event user | event_user_is_created_by_system | boolean | Whether the event_user account was created by mediawiki (eg. centralauth) |
18 | Event user | event_user_is_created_by_peer | boolean | Whether the event_user account was created by another user |
19 | Event user | event_user_is_anonymous | boolean | Whether the event_user is not registered, using the old way that surfaced the IP publicly. True for revisions where the user has been revision deleted, even if the user was actually registered. |
20 | Event user | event_user_is_temporary | boolean | Whether the event_user is not registered, using the new temporary account way. True for revisions where the user has been revision deleted, even if the user was actually registered. |
21 | Event user | event_user_is_permanent | boolean | Whether the event_user is registered. |
22 | Event user | event_user_registration_timestamp | string | Registration timestamp of the user that caused the event (from user table) |
23 | Event user | event_user_creation_timestamp | string | Creation timestamp of the user that caused the event (from logging table) |
24 | Event user | event_user_first_edit_timestamp | string | Timestamp of the first edit of the user that caused the event |
25 | Event user | event_user_revision_count | bigint | Number of revisions made by the event_user up to the historical time in this wiki_db (only available in revision-create events so far). For revision-create events, this includes the event itself. |
26 | Event user | event_user_seconds_since_previous_revision | bigint | In revision events: seconds elapsed since the previous revision made by the current event_user_id (only available in revision-create events so far) |
27 | page | page_id | bigint | In revision/page events: id of the page |
28 | page | page_title_historical | string | In revision/page events: historical title of the page |
29 | page | page_title | string | In revision/page events: current title of the page |
30 | page | page_namespace_historical | int | In revision/page events: historical namespace of the page. |
31 | page | page_namespace_is_content_historical | boolean | In revision/page events: historical namespace of the page is categorized as content |
32 | page | page_namespace | int | In revision/page events: current namespace of the page |
33 | page | page_namespace_is_content | boolean | In revision/page events: current namespace of the page is categorized as content |
34 | page | page_is_redirect | boolean | In revision/page events: whether the page is currently a redirect |
35 | page | page_is_deleted | boolean | In revision/page events: Whether the page is rebuilt from a delete event |
36 | page | page_creation_timestamp | string | In revision/page events: creation timestamp of the page |
37 | page | page_first_edit_timestamp | string | In revision/page events: timestamp of the page's first revision. Can be before the page_creation in some restore/merge cases (see revision_is_from_before_page_creation). |
38 | page | page_revision_count | bigint | In revision/page events: Cumulative revision count per page for the current page_id (only available in revision-create events so far) |
39 | page | page_seconds_since_previous_revision | bigint | In revision/page events: seconds elapsed since the previous revision made on the current page_id (only available in revision-create events so far) |
40 | user | user_id | bigint | In user events: id of the user |
41 | user | user_text_historical | string | In user events: historical username or IP address of the user |
42 | user | user_text | string | In user events: current username or IP address of the user |
43 | user | user_blocks_historical | array<string> | In user events: historical user blocks |
44 | user | user_blocks | array<string> | In user events: current user blocks |
45 | user | user_groups_historical | array<string> | In user events: historical user groups |
46 | user | user_groups | array<string> | In user events: current user groups |
47 | user | user_is_bot_by_historical | array<string> | In user events: Historical bot information of the user, can contain values name or group |
48 | user | user_is_bot_by | array<string> | In user events: Bot information of the user, can contain values name or group |
49 | user | user_is_created_by_self | boolean | In user events: whether the user created their own account |
50 | user | user_is_created_by_system | boolean | In user events: whether the user account was created by mediawiki |
51 | user | user_is_created_by_peer | boolean | In user events: whether the user account was created by another user |
52 | user | user_is_anonymous | boolean | In user events: whether the user is not registered, using the old way that surfaced the IP publicly |
53 | user | user_is_temporary | boolean | In user events: whether the user is not registered, using the new temporary account way |
54 | user | user_is_permanent | boolean | In user events: whether the user is registered |
55 | user | user_registration_timestamp | string | In user events: registration timestamp of the user. |
56 | user | user_creation_timestamp | string | In user events: Creation timestamp of the user (from logging table) |
57 | user | user_first_edit_timestamp | string | In user events: Timestamp of the first edit of the user |
58 | revision | revision_id | bigint | In revision events: id of the revision |
59 | revision | revision_parent_id | bigint | In revision events: id of the parent revision |
60 | revision | revision_minor_edit | boolean | In revision events: whether it is a minor edit or not |
61 | revision | revision_deleted_parts | array<string> | In revision events: Deleted parts of the revision, can contain values text, comment and user |
62 | revision | revision_deleted_parts_are_suppressed | boolean | In revision events: Whether the deleted parts are deleted to admin as well (visible only by stewards) |
63 | revision | revision_text_bytes | bigint | In revision events: number of bytes of revision |
64 | revision | revision_text_bytes_diff | bigint | In revision events: change in bytes relative to parent revision (can be negative). |
65 | revision | revision_text_sha1 | string | In revision events: sha1 hash of the revision |
66 | revision | revision_content_model | string | In revision events: content model of revision |
67 | revision | revision_content_format | string | In revision events: content format of revision |
68 | revision | revision_is_deleted_by_page_deletion | boolean | In revision events: whether this revision has been deleted (moved to archive table) |
69 | revision | revision_deleted_by_page_deletion_timestamp | string | In revision events: the timestamp when the revision was deleted |
70 | revision | revision_is_identity_reverted | boolean | In revision events: whether this revision was reverted by another future revision |
71 | revision | revision_first_identity_reverting_revision_id | bigint | In revision events: id of the revision that reverted this revision |
72 | revision | revision_seconds_to_identity_revert | bigint | In revision events: seconds elapsed between revision posting and its revert (if there was one) |
73 | revision | revision_is_identity_revert | boolean | In revision events: whether this revision reverts other revisions |
74 | revision | revision_is_from_before_page_creation | boolean | In revision events: True if the revision timestamp is before the page creation (can happen with restore events) |
75 | revision | revision_tags | array<string> | In revision events: Tags associated to the revision |