From: Ævar Arnfjörð Bjarmason Date: Tue, 24 May 2005 13:24:35 +0000 (+0000) Subject: * Added profiling to getNavigationLinks() X-Git-Tag: 1.5.0alpha2~98 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=0548b047b35739229c948f159f39bd0451ee6ba4;p=lhc%2Fweb%2Fwiklou.git * Added profiling to getNavigationLinks() --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 19c45d91d7..8c62be4698 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -706,8 +706,13 @@ class SkinTemplate extends Skin { function getNavigationLinks() { global $wgOut; + $fname = 'SkinTemplate::getNavigationLinks'; + wfProfileIn( $fname ); + + $parsed = $wgOut->parse( wfMsgForContent( 'navbar' ) ); - return $wgOut->parse( wfMsgForContent( 'navbar' ) ); + wfProfileOut( $fname ); + return $parsed; } /**