With commit 454cf1843ed9797798b6396db970d53937045a9f (at least this is the one, which breaks the extension completely :P), the Popups extension isn't independant from EventLogging anymore. That means, that a third-party has to install EventLogging, even if no EventLogging infrastructure is present or setup, otherwise you'll get an error message, that the dependency ext.eventLogging.Schema could not be resolved (which breaks any JavaScript on the site).
Removing the dependency results in another error:
Uncaught TypeError: Cannot read property 'Schema' of undefined
AC
- Popups doesn't have a hard dependency on EventLogging.
- Stretch AC: If the EventLogging extension isn't loaded or the instrumentation is disabled, then the instrumentation-related code doesn't run.
Possible solutions
This should be fixed to make the extension independent from EventLogging again.
- The RL code should/could be based on https://gist.github.com/atdt/4652474
- Use mw.track (along with mw.experiments for bucketing) in favor of ext.eventLogging.Schema in schema.js (T158999#3057921, T158999#3087132)