From: Aaron Schulz Date: Wed, 1 Oct 2014 17:14:27 +0000 (-0700) Subject: Added some profiling calls X-Git-Tag: 1.31.0-rc.0~13715^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=6f7292ad2958826c3ec49a1207688ce804fc6ca2;p=lhc%2Fweb%2Fwiklou.git Added some profiling calls Change-Id: Icb024c86e86a030fdea874cf5aa47fd0329e6133 --- 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.