* Changed getNavigationLinks() to use $wgOut::parse()
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 23 May 2005 18:44:03 +0000 (18:44 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 23 May 2005 18:44:03 +0000 (18:44 +0000)
includes/SkinTemplate.php

index 8d00e92..a205ce6 100644 (file)
@@ -703,11 +703,9 @@ class SkinTemplate extends Skin {
        }
        
        function getNavigationLinks() {
-               global $wgParser, $wgTitle;
-               $text = wfMsgForContent( 'navbar' );
-               $options = ParserOptions::newFromUser( $temp = NULL );
-               $parserOutput = $wgParser->parse( $text, $wgTitle, $options, true );
-               return $parserOutput->getText();
+               global $wgOut;
+               
+               return $wgOut->parse( wfMsgForContent( 'navbar' ) );
        }
 
        /**