From: Ævar Arnfjörð Bjarmason Date: Mon, 23 May 2005 18:44:03 +0000 (+0000) Subject: * Changed getNavigationLinks() to use $wgOut::parse() X-Git-Tag: 1.5.0alpha2~111 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=323b755116b659eeeaf7da3a0cb16f44f083c4f0;p=lhc%2Fweb%2Fwiklou.git * Changed getNavigationLinks() to use $wgOut::parse() --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 8d00e92f5a..a205ce6b26 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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' ) ); } /**