-
Notifications
You must be signed in to change notification settings - Fork 0
/
current.yaml
69 lines (59 loc) · 1.86 KB
/
current.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
title: fragment/mediawiki/state/entity/user
description: >
Fields for MediaWiki actor or user.
Note that an 'user' might be a real user account
in MediaWiki. For anonymous users, the user_id will not be set.
$id: /fragment/mediawiki/state/entity/user/1.0.0
$schema: https://json-schema.org/draft-07/schema#
type: object
additionalProperties: false
properties:
user_id:
description: >
The user ID that performed this change. This is optional, and
will not be present for anonymous users.
type: integer
minimum: 0
user_text:
description: >
The user name or text representation of the user that
performed this change.
type: string
minLength: 1
groups:
description: >
A list of the groups this user belongs to. E.g. bot, sysop etc.
Not present for anonymous users.
type: array
items:
type: string
minLength: 1
is_bot:
description: >
True if this user is considered to be a bot at the time of this event.
This is checked via the $user->isBot() method, which considers both
user_groups and user permissions.
type: boolean
is_system:
description: >
True if the user is a MediaWiki 'system' user. These are users that
cannot 'authenticate'. These are usually listed in ReservedUsernames.
type: boolean
is_temp:
description: >
True if the user is an autocreated temporary MediaWiki user.
This is used for IP masking.
type: boolean
registration_dt:
description: >
The datetime of the user account registration.
Not present for anonymous users or if missing in the MW database.
type: string
format: date-time
maxLength: 128
edit_count:
description: >
The number of edits this user has made at the time of this event.
Not present for anonymous users.
type: integer
minimum: 0