mediawiki-extensions-Popups/tests
Sam Smith 67eb3b1dcf i13n: Log EL events with mw.track
Currently, the mw.eventLog.Schema class samples per pageview. However,
we expect that if a user is bucketed for a session, then all
EventLogging events logged during that session are in the sample.

Moreover, loading the class in the way that we did - asynchronously,
using mw.loader#using - introduced an issue where the eventLogging
change listener would subscribe in the next tick of the JavaScript VM's
event loop and miss the "pageLoaded" event being queued (see T167273).

Changes:
* Make the schema module follow the form of the statsvInstrumentation
  module, i.e. make it expose the #isEnabled method, and add the
  associated getEventLoggingTracker function.
* Update the eventLogging change listener accept the tracker returned by
  getEventLoggingTracker.
* Update/fix related JSDoc documentation.

Bug: T167236
Bug: T167273
Change-Id: I4f653bbaf1bbc2c2f70327e338080e17cd3443d4
2017-06-17 00:51:32 +00:00
..
browser Tag previews acceptance tests with @integration 2016-12-13 14:47:32 +00:00
node-qunit i13n: Log EL events with mw.track 2017-06-17 00:51:32 +00:00
phpunit Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00
.jscsrc.js Update linting and enable command line QUnit 2016-11-08 13:56:17 -05:00