From: Brion Vibber Date: Sat, 29 Oct 2005 06:14:38 +0000 (+0000) Subject: Restore default sig changed without explanation X-Git-Tag: 1.6.0~1275 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=c2b4da00a031c866e56c5635fe81b765261c9f3a;p=lhc%2Fweb%2Fwiklou.git Restore default sig changed without explanation --- diff --git a/includes/Parser.php b/includes/Parser.php index 74d00a1dc9..4cc0c7d14e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3096,10 +3096,7 @@ class Parser if( $user->getOption( 'fancysig' ) ) { $sigText = $k; } else { - $ns_user = $wgContLang->getFormattedNsText( NS_USER ); - $ns_talk = $wgContLang->getFormattedNsText( NS_TALK ); - $ns_user_talk = $wgContLang->getFormattedNsText( NS_USER_TALK ); - $sigText = "[[$ns_user:$n|$k]] ([[$ns_user_talk:$n|$ns_talk]])"; + $sigText = '[[' . $wgContLang->getNsText( NS_USER ) . ":$n|$k]]"; } $text = preg_replace( '/~~~~~/', $d, $text ); $text = preg_replace( '/~~~~/', "$sigText $d", $text );