mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw 86b82b537d Make activation timings sent to EventLogging not lie
The activation timing was always a bit of a lie even pre-TargetLoader,
because the timer only started when the first RL request for VE
modules had loaded. But at least the process it covered was consistent,
which is no longer true with TargetLoader. Now that we start the
request for the HTML together with the RL request, the activation
time might include some, all or none of the HTML request depending
on how fast the RL request was.

This change makes the activation timings more useful by measuring
from the moment the user clicks "edit" to the moment the editor
is done loading, which is what actually matters.

* Moved start of activation timing to VPT init
** For mobile this falls back to when mw.Target#load is called;
   we'll have to fix that in MobileFrontend later
* Moved end of activation timing out of TargetEvents#onSurfaceReady
  into individual onSurfaceReady handlers
** This is necessary because VPT's onSurfaceReady does quite a lot,
   and we want to include the time that takes in our measurements

Change-Id: Ie44f0b839b39a2b3b22dcd86e20f0d1170cb6069
2015-04-14 21:57:11 +00:00
..
ce Stop using this.$ 2015-04-14 02:54:01 +01:00
dm Split AlienExtensionNode into inline and block 2015-04-09 16:32:02 +01:00
i18n Localisation updates from https://translatewiki.net. 2015-04-14 22:36:57 +02:00
init Make activation timings sent to EventLogging not lie 2015-04-14 21:57:11 +00:00
tests Split AlienExtensionNode into inline and block 2015-04-09 16:32:02 +01:00
ui Merge "Comment potential override of wikitextRef sequence" 2015-04-14 21:46:42 +00:00