r14133 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14132‎ | r14133 | r14134 >
Date:16:20, 8 May 2006
Author:nikerabbit
Status:old
Tags:
Comment:
* Don't use content language for talk link
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -804,8 +804,8 @@
805805 * @private
806806 */
807807 function userTalkLink( $userId, $userText ) {
808 - global $wgContLang;
809 - $talkname = $wgContLang->getNsText( NS_TALK ); # use the shorter name
 808+ global $wgLang;
 809+ $talkname = $wgLang->getNsText( NS_TALK ); # use the shorter name
810810
811811 $userTalkPage = Title::makeTitle( NS_USER_TALK, $userText );
812812 $userTalkLink = $this->makeLinkObj( $userTalkPage, $talkname );

Status & tagging log