From f7be9ccf5b18e2c1b0a470ad8d2cbcab190e09b4 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 3 Sep 2015 19:10:51 +0100 Subject: [PATCH] resourceloader: Rename 'mediaWikiStartUp' mark to 'mwLoadStart' By ending with "Start" we can create a sensibly named "mwLoadEnd". Also calling it LoadStart instead of StartUp so that it matches the mediaWikiLoadStart global. Abandoning 'mediaWiki' as prefix since that's a left-over from the mediawiki.js global variable, as abbreviation 'mw' makes more sense or full on 'MediaWiki' (with proper capital 'M'). Change-Id: I3ab0ddf53ccb83db87d705b670cf5c46516b4488 --- resources/src/startup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/startup.js b/resources/src/startup.js index 197a672fee..1d1455c43d 100644 --- a/resources/src/startup.js +++ b/resources/src/startup.js @@ -12,7 +12,7 @@ if ( !window.performance ) { if ( !performance.mark ) { performance.mark = function () {}; } -performance.mark( 'mediaWikiStartUp' ); +performance.mark( 'mwLoadStart' ); /** * Returns false for Grade C supported browsers. -- 2.20.1