From: Niklas Laxström Date: Mon, 8 May 2006 16:20:59 +0000 (+0000) Subject: * Don't use content language for talk link X-Git-Tag: 1.31.0-rc.0~57203 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=edbbb4970b8c731677e2b7bd28178683b63b5a53;p=lhc%2Fweb%2Fwiklou.git * Don't use content language for talk link --- diff --git a/includes/Linker.php b/includes/Linker.php index 82b3723b56..f088fafeeb 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -804,8 +804,8 @@ class Linker { * @private */ function userTalkLink( $userId, $userText ) { - global $wgContLang; - $talkname = $wgContLang->getNsText( NS_TALK ); # use the shorter name + global $wgLang; + $talkname = $wgLang->getNsText( NS_TALK ); # use the shorter name $userTalkPage = Title::makeTitle( NS_USER_TALK, $userText ); $userTalkLink = $this->makeLinkObj( $userTalkPage, $talkname );