From c2b4da00a031c866e56c5635fe81b765261c9f3a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 29 Oct 2005 06:14:38 +0000 Subject: [PATCH] Restore default sig changed without explanation --- includes/Parser.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ); -- 2.20.1