Merge "The light at the end of the API code format updating tunnel"
[lhc/web/wiklou.git] / includes / SkinTemplate.php
index f39c7df..77ea307 100644 (file)
@@ -159,7 +159,7 @@ class SkinTemplate extends Skin {
                                        $language_urls[] = array(
                                                'href' => $languageLinkTitle->getFullURL(),
                                                'text' => $ilLangName,
-                                               'title' => wfMessage( 'tooltip-iwiki', $languageLinkTitle->getText(), $ilLangLocalName )->text(),
+                                               'title' => wfMessage( 'interlanguage-link-title', $languageLinkTitle->getText(), $ilLangLocalName )->text(),
                                                'class' => $class,
                                                'lang' => wfBCP47( $ilInterwikiCode ),
                                                'hreflang' => wfBCP47( $ilInterwikiCode ),
@@ -245,6 +245,8 @@ class SkinTemplate extends Skin {
                if ( $oldContext ) {
                        $this->setContext( $oldContext );
                }
+
+               wfProfileOut( __METHOD__ );
        }
 
        /**
@@ -261,6 +263,8 @@ class SkinTemplate extends Skin {
                        $wgShowCreditsIfMax, $wgPageShowWatchingUsers, $wgArticlePath,
                        $wgScriptPath, $wgServer;
 
+               wfProfileIn( __METHOD__ );
+
                $title = $this->getTitle();
                $request = $this->getRequest();
                $tpl = $this->setupTemplateForOutput();