From: Zheng Zhu Date: Sun, 26 Sep 2004 23:45:18 +0000 (+0000) Subject: Use wfMsgForContent() when making links X-Git-Tag: 1.5.0alpha1~1763 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=ad8544118547b5b4459fba6076df0ba156376634;p=lhc%2Fweb%2Fwiklou.git Use wfMsgForContent() when making links --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index a62db6c72a..9aa80dd0d7 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -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'] ); }