MaxSem has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/59817


Change subject: Profiling
......................................................................

Profiling

Change-Id: I6d1a96b44cdc1f02425a5ebbc9729cf735ac1ae3
---
M includes/MobileContext.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/17/59817/1

diff --git a/includes/MobileContext.php b/includes/MobileContext.php
index 2cbe2e5..8940057 100644
--- a/includes/MobileContext.php
+++ b/includes/MobileContext.php
@@ -225,10 +225,12 @@
                if ( !is_null( $this->mobileView ) ) {
                        return $this->mobileView;
                }
+               wfProfileIn( __METHOD__ );
                $this->mobileView = $this->shouldDisplayMobileViewInternal();
                if ( $this->mobileView ) {
                        wfRunHooks( 'EnterMobileMode', array( $this ) );
                }
+               wfProfileOut( __METHOD__ );
                return $this->mobileView;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/59817
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d1a96b44cdc1f02425a5ebbc9729cf735ac1ae3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to