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:
682e6e9
)
Do a silent cleanup of the signature on change
author
Rob Church
<robchurch@users.mediawiki.org>
Sat, 7 Jan 2006 23:13:16 +0000
(23:13 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sat, 7 Jan 2006 23:13:16 +0000
(23:13 +0000)
includes/SpecialPreferences.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPreferences.php
b/includes/SpecialPreferences.php
index
cd01dda
..
c55d103
100644
(file)
--- a/
includes/SpecialPreferences.php
+++ b/
includes/SpecialPreferences.php
@@
-227,10
+227,8
@@
class PreferencesForm {
$needRedirect = false;
}
- if( $this->badNickname() ) {
- $this->mainPrefsForm( 'error', wfMsg( 'badsig2' ) );
- return;
- }
+ # Clean up the signature a little
+ $this->mNick = Parser::cleanSig( $this->mNick );
$wgUser->setOption( 'language', $this->mUserLanguage );
$wgUser->setOption( 'variant', $this->mUserVariant );