From 6f7292ad2958826c3ec49a1207688ce804fc6ca2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 1 Oct 2014 10:14:27 -0700 Subject: [PATCH] Added some profiling calls Change-Id: Icb024c86e86a030fdea874cf5aa47fd0329e6133 --- includes/OutputPage.php | 2 ++ includes/skins/Skin.php | 1 + 2 files changed, 3 insertions(+) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index e1b6e0eaff..df67148387 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2587,6 +2587,8 @@ $templates public function headElement( Skin $sk, $includeStyle = true ) { global $wgContLang; + $section = new ProfileSection( __METHOD__ ); + $userdir = $this->getLanguage()->getDir(); $sitedir = $wgContLang->getDir(); diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 2f6a7101e7..e378278cd4 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -932,6 +932,7 @@ abstract class Skin extends ContextSource { * @return string HTML anchor */ public function footerLink( $desc, $page ) { + $section = new ProfileSection( __METHOD__ ); // if the link description has been set to "-" in the default language, if ( $this->msg( $desc )->inContentLanguage()->isDisabled() ) { // then it is disabled, for all languages. -- 2.20.1