Added some profiling calls
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 1 Oct 2014 17:14:27 +0000 (10:14 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 1 Oct 2014 17:14:27 +0000 (10:14 -0700)
Change-Id: Icb024c86e86a030fdea874cf5aa47fd0329e6133

includes/OutputPage.php
includes/skins/Skin.php

index e1b6e0e..df67148 100644 (file)
@@ -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();
 
index 2f6a710..e378278 100644 (file)
@@ -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.