Ottomata has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/360704 )

Change subject: Reuse revision/create schema for new the page-create topic
......................................................................


Reuse revision/create schema for new the page-create topic

Bug: T150369
Change-Id: I4f40e5c35e56ec5cc947869aad495bb56e74a1dd
---
M config/eventbus-topics.yaml
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Looks good to me, approved
  Ppchelko: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/config/eventbus-topics.yaml b/config/eventbus-topics.yaml
index 00e6504..c26946e 100644
--- a/config/eventbus-topics.yaml
+++ b/config/eventbus-topics.yaml
@@ -9,6 +9,11 @@
 # allows it to be used by services outside of WMF production.
 #
 
+mediawiki.page-create:
+  # A page create is just a special case of revision create,
+  # so we can reuse the same schema.
+  schema_name: mediawiki/revision/create
+
 mediawiki.page-delete:
   schema_name: mediawiki/page/delete
 

-- 
To view, visit https://gerrit.wikimedia.org/r/360704
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f40e5c35e56ec5cc947869aad495bb56e74a1dd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/event-schemas
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: Ppchelko <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to