title: mediawiki/revision/tags-change description: Represents a MW revision tags change event $id: /mediawiki/revision/tags-change/1.0.0 $schema: https://json-schema.org/draft-07/schema# type: object allOf: ### revision entity fields - all revision related events should have these. - $ref: /fragment/mediawiki/revision/common/1.0.0# ### revision/tags-change specific fields - properties: chronology_id: description: Deprecated - no longer populated type: string comment: description: The comment left by the user that performed this change. type: string parsedcomment: description: > The comment left by the user that performed this change parsed into simple HTML. Optional type: string rev_sha1: description: The sha1 of the revision text. type: string rev_len: description: The length of the revision text in bytes. type: integer rev_minor_edit: description: Flag identifying if the revision is minor. type: boolean rev_content_model: description: The content model of the revision. type: string rev_content_format: description: The content format of the revision. type: string page_is_redirect: description: > True if this revision is a redirect. This fact is ultimately represented by revision content containing redirect wikitext. If this revision is the head revision of the page, then the page will also be a redirect. type: boolean tags: description: > The list of tags after the event has happened. If the tags field is not present, the revision has no tags after the event has happened. type: array items: type: string prior_state: description: > The prior state of the entity before this event. If the field is not present, the revision has no tags before the event has happened. type: object properties: tags: description: The list of tags before the event has happened. type: array items: type: string examples: - $schema: { $ref: '#/$id' } meta: uri: https://examplewiki.wikipedia.org/wiki/TestPage10 dt: '2020-06-10T18:57:16Z' domain: test.wikipedia.org stream: mediawiki.revision-tags-change database: examplewiki page_id: 123 page_title: TestPage10 page_namespace: 0 rev_id: 123 rev_timestamp: '2020-06-10T18:57:16Z' rev_sha1: mr0szy90m5qbn6tek7ch3nebaild3tm rev_minor_edit: false rev_len: 3 rev_content_model: wikitext rev_content_format: text/x-wiki performer: user_text: example_user_text user_groups: - "*" - user - autoconfirmed user_is_bot: false user_id: 123 user_registration_dt: '2016-01-29T21:13:24Z' user_edit_count: 1 page_is_redirect: false rev_parent_id: 122 rev_content_changed: true tags: [example_tag]