function main() {
global $wgUseFileCache, $wgTitle, $wgUseAjax;
+ wfProfileIn( __METHOD__ );
+
# Set title from request parameters
$wgTitle = $this->getTitle();
$action = $this->context->getRequest()->getVal( 'action', 'view' );
if ( $wgUseAjax && $action == 'ajax' ) {
$dispatcher = new AjaxDispatcher();
$dispatcher->performAction();
+ wfProfileOut( __METHOD__ );
return;
}
# Tell OutputPage that output is taken care of
$this->context->getOutput()->disable();
wfProfileOut( 'main-try-filecache' );
+ wfProfileOut( __METHOD__ );
return;
}
}
}
$this->performRequest();
+
+ wfProfileOut( __METHOD__ );
}
}