Ppchelko has uploaded a new change for review. https://gerrit.wikimedia.org/r/309193
Change subject: Added sequence_num to the continue event. ...................................................................... Added sequence_num to the continue event. For transclusions deduplication we need to compare continue tokens (which will appear in the sequence of continue tokens before the other one). But MW API doesn't document how the tokens are sorted. To avoid relying on the undocumented behaviour we cat add the seq number to the event so that we can compare them. Bug: T145011 Change-Id: I3eeea858cf5cb8a7ce84cf0141e4caaa996d7d31 --- M jsonschema/change-prop/continue/1.yaml 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/event-schemas refs/changes/93/309193/1 diff --git a/jsonschema/change-prop/continue/1.yaml b/jsonschema/change-prop/continue/1.yaml index d078b7a..ae5f67c 100644 --- a/jsonschema/change-prop/continue/1.yaml +++ b/jsonschema/change-prop/continue/1.yaml @@ -57,6 +57,10 @@ description: > comma-separated list of event descriptions in `<topic>:<uri>` format, that represent a chain of events that caused this event to be emitted. + sequence_num: + type: integer + minimum: 1 + description: Number of this continuation event in the current sequence. required: - meta - original_event -- To view, visit https://gerrit.wikimedia.org/r/309193 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3eeea858cf5cb8a7ce84cf0141e4caaa996d7d31 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/event-schemas Gerrit-Branch: master Gerrit-Owner: Ppchelko <ppche...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits