Re: [Wikitech-l] RevisionInsertComplete vs. RevisionRecordInserted

2018-02-01 Thread Stas Malyshev
Hi!

On 2/1/18 7:39 AM, Andrew Otto wrote:
> This is the first I’ve heard of it!  So, we don’t have a plan to change it,
> but I suppose we should if RevisionInsertComplete is deprecated.  I haven’t
> looked at RevisionRecordInserted yet so I can’t answer questions about
> schema changes, but I doubt it would change anything.

I suspect it has to do with MCR work, but don't know the details. There
might be a need to add some info in the revision for new MCR
information, but not sure.

-- 
Stas Malyshev
smalys...@wikimedia.org

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] RevisionInsertComplete vs. RevisionRecordInserted

2018-02-01 Thread Andrew Otto
This is the first I’ve heard of it!  So, we don’t have a plan to change it,
but I suppose we should if RevisionInsertComplete is deprecated.  I haven’t
looked at RevisionRecordInserted yet so I can’t answer questions about
schema changes, but I doubt it would change anything.

Just created https://phabricator.wikimedia.org/T186228, thanks.

On Mon, Jan 29, 2018 at 4:19 PM, Stas Malyshev 
wrote:

> Hi!
>
> I've noticed that RevisionInsertComplete hook is now deprecated in favor
> of RevisionRecordInserted. However, EventBus still uses
> RevisionInsertComplete. Is this going to change soon? If so, will the
> underlying event/topic change too? I couldn't find anything in
> Phabricator about this - is there plan to change it or still use old
> hook for now and foreseeable future?
>
> Thanks,
> --
> Stas Malyshev
> smalys...@wikimedia.org
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] RevisionInsertComplete vs. RevisionRecordInserted

2018-01-29 Thread Stas Malyshev
Hi!

I've noticed that RevisionInsertComplete hook is now deprecated in favor
of RevisionRecordInserted. However, EventBus still uses
RevisionInsertComplete. Is this going to change soon? If so, will the
underlying event/topic change too? I couldn't find anything in
Phabricator about this - is there plan to change it or still use old
hook for now and foreseeable future?

Thanks,
-- 
Stas Malyshev
smalys...@wikimedia.org

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l