mediawiki-extensions-Visual.../modules/ve/init/mw
Ori Livneh efba2cf8da Add ability to log analytic events using EventLogging
This change adds a '$wgVisualEditorEnableEventLogging' configuration
variable, accessible client-side as
'wgVisualEditorConfig.enableEventLogging'.

When true, the 'schema.Edit' ResourceLoader module will be loaded on the
page, and calls to ViewPageTarget.logEvent will forward to
mw.eventLog#logEvent.

When false, the module is not loaded, and ViewPageTarget.logEvent is a
no-op.

The change also adds a few calls to ViewPageTarget.logEvent to log certain
editor actions, documented in https://meta.wikimedia.org/wiki/Schema:Edit.

Change-Id: Iccd171d7cde15b0302d1b4c292bcbcc2a4b337ef
2013-06-13 10:14:53 -07:00
..
styles Show warning when commit message is empty and preference is set 2013-05-21 08:02:16 +02:00
targets Add ability to log analytic events using EventLogging 2013-06-13 10:14:53 -07:00
ve.init.mw.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.mw.Platform.js Image insertion 2013-06-06 17:36:55 -07:00
ve.init.mw.Target.js mw: Remove 'Report problem' feature 2013-06-08 01:11:27 +02:00