From ad8544118547b5b4459fba6076df0ba156376634 Mon Sep 17 00:00:00 2001 From: Zheng Zhu Date: Sun, 26 Sep 2004 23:45:18 +0000 Subject: [PATCH] Use wfMsgForContent() when making links --- includes/SkinPHPTal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ); } -- 2.20.1