r11565 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11564‎ | r11565 | r11566 >
Date:06:14, 29 October 2005
Author:vibber
Status:old
Tags:
Comment:
Restore default sig changed without explanation
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3096,10 +3096,7 @@
30973097 if( $user->getOption( 'fancysig' ) ) {
30983098 $sigText = $k;
30993099 } else {
3100 - $ns_user = $wgContLang->getFormattedNsText( NS_USER );
3101 - $ns_talk = $wgContLang->getFormattedNsText( NS_TALK );
3102 - $ns_user_talk = $wgContLang->getFormattedNsText( NS_USER_TALK );
3103 - $sigText = "[[$ns_user:$n|$k]] ([[$ns_user_talk:$n|$ns_talk]])";
 3100+ $sigText = '[[' . $wgContLang->getNsText( NS_USER ) . ":$n|$k]]";
31043101 }
31053102 $text = preg_replace( '/~~~~~/', $d, $text );
31063103 $text = preg_replace( '/~~~~/', "$sigText $d", $text );

Status & tagging log