Ori.livneh has submitted this change and it was merged.

Change subject: Make writeEvent global; fix hook.
......................................................................


Make writeEvent global; fix hook.

- Use PageContentSaveComplete rather than deprecated
  ArticleSaveComplete hook. I'm targetting MW 1.21.

- Make wfLogServerSideEvent a freestanding function.

  I don't expect external callers to wfLogServerSideEvent, but the
  codebase for this extension is getting sufficiently complex that I
  have to start insisting on some conceptual hygiene.

Change-Id: I9432093dee62c896c5c647137e59f0d2dc53a064
---
M EventLogging.home.php
M EventLogging.hooks.php
M EventLogging.php
3 files changed, 43 insertions(+), 41 deletions(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9432093dee62c896c5c647137e59f0d2dc53a064
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>

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

Reply via email to