Use wfMsgForContent() when making links
authorZheng Zhu <zhengzhu@users.mediawiki.org>
Sun, 26 Sep 2004 23:45:18 +0000 (23:45 +0000)
committerZheng Zhu <zhengzhu@users.mediawiki.org>
Sun, 26 Sep 2004 23:45:18 +0000 (23:45 +0000)
includes/SkinPHPTal.php

index a62db6c..9aa80dd 100644 (file)
@@ -571,7 +571,7 @@ class SkinPHPTal extends Skin {
                foreach ( $wgNavigationLinks as $link ) {
                        $result[] = array(
                                'text' => wfMsg( $link['text'] ),
-                               'href' => $this->makeInternalOrExternalUrl( wfMsg( $link['href'] ) ),
+                               'href' => $this->makeInternalOrExternalUrl( wfMsgForContent( $link['href'] ) ),
                                'id' => 'n-'.$link['text']
                        );
                }