* Don't use content language for talk link
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 8 May 2006 16:20:59 +0000 (16:20 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 8 May 2006 16:20:59 +0000 (16:20 +0000)
includes/Linker.php

index 82b3723..f088faf 100644 (file)
@@ -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 );