https://bugzilla.wikimedia.org/show_bug.cgi?id=49094
Ori Livneh <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Ori Livneh <[email protected]> --- (In reply to comment #0) > When you call mw.eventLog.logEvent() or efLogServerSideEvent(), EventLogging > validates your event against its schema, but you don't know if it passed > validation. Yes, you do: mw.eventLog.logEvent('Echo', {foo: 'bar'}).done( function (event) { if ( event.clientValidated ) { console.log('It validated!'); } else { console.log('It did not validate!'); } } ); -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
