From: Timo Tijhof Date: Thu, 3 Sep 2015 18:10:51 +0000 (+0100) Subject: resourceloader: Rename 'mediaWikiStartUp' mark to 'mwLoadStart' X-Git-Tag: 1.31.0-rc.0~10151 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f7be9ccf5b18e2c1b0a470ad8d2cbcab190e09b4;p=lhc%2Fweb%2Fwiklou.git 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 --- 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.