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:
f68d71b
)
Restore default sig changed without explanation
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 29 Oct 2005 06:14:38 +0000
(06:14 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 29 Oct 2005 06:14:38 +0000
(06:14 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
74d00a1
..
4cc0c7d
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-3096,10
+3096,7
@@
class Parser
if( $user->getOption( 'fancysig' ) ) {
$sigText = $k;
} else {
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 );
}
$text = preg_replace( '/~~~~~/', $d, $text );
$text = preg_replace( '/~~~~/', "$sigText $d", $text );