mediawiki-extensions-Visual.../modules/ve-mw/init
Roan Kattouw 6d21d83244 Add instrumentation for edit schema
Move ve.track() subscriber to its own file, and have it
route mwtiming.* events (for TimingData) and mwedit.* events
(for Edit schema) differently. Most of the data population
lives in the subscriber, so actual ve.track() calls are
pretty lightweight.

Existing ve.track() calls with timing data were kept with
their names intact for backwards compatibility, but
we may eventually want to throw them out and start from scratch.

ve.init.mw.ViewPageTarget.init.js:
* Remove old track subscriber
* Track init and ready events
* Remove old ve.track( 'Edit', ... ) crap that didn't work

ve.init.mw.ViewPageTarget.js:
* Fire the saveWorkflowBegin event before the save dialog
  loads rather than after
* Remove unnecessary this.events.trackSaveError() calls:
  TargetEvents already listens to these events itself
* Remove badtoken handler because all it was was an
  unnecessary trackSaveError() call
* Add abort tracking
** Pass trackMechanism through deactivate() and cancel()

ve.init.mw.Target.js:
* Add static.integrationType to populate the 'integration'
  field in the schema

ve.init.mw.TargetEvents.js:
* Simplify onSaveError* methods away into connect bindings
* Map track topics to mwtiming.* so they can be routed separately
* Track save-related mwedit.* events

Depends on I978eda96c in WikimediaEvents

Change-Id: Iae677d9b15c71d2b18e795bd5179d11876c06abd
2014-11-21 11:59:15 -08:00
..
styles Update VE core submodule to master (fb57e24) 2014-11-21 10:28:34 -08:00
targets Add instrumentation for edit schema 2014-11-21 11:59:15 -08:00
ve.init.mw.js Use registered target, instead of ve.init.Target 2014-06-17 20:41:01 +01:00
ve.init.mw.LinkCache.js Show category items as red if they don't have description pages 2014-11-08 14:27:27 +00:00
ve.init.mw.Platform.js Use hasOwnProperty instead of 'key in obj' 2014-11-05 20:54:50 +00:00
ve.init.mw.Target.js Add instrumentation for edit schema 2014-11-21 11:59:15 -08:00
ve.init.mw.TargetEvents.js Add instrumentation for edit schema 2014-11-21 11:59:15 -08:00
ve.init.mw.trackSubscriber.js Add instrumentation for edit schema 2014-11-21 11:59:15 -08:00