dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87409d7
)
* Don't use content language for talk link
author
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Mon, 8 May 2006 16:20:59 +0000
(16:20 +0000)
committer
Niklas Laxström
<nikerabbit@users.mediawiki.org>
Mon, 8 May 2006 16:20:59 +0000
(16:20 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
82b3723
..
f088faf
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-804,8
+804,8
@@
class Linker {
* @private
*/
function userTalkLink( $userId, $userText ) {
- global $wg
Cont
Lang;
- $talkname = $wg
Cont
Lang->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 );