r54585 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r54584
|
r54585
|
r54586
>
Date:
16:06, 7 August 2009
Author:
werdna
Status:
reverted
Tags:
Comment:
Fix
bug 19261
by saving the username as the signature if it is submitted empty
Modified paths:
/trunk/phase3/includes/Preferences.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Preferences.php
—
—
@@ -1121,6 +1121,9 @@
1122
1122
// When no fancy sig used, make sure ~{3,5} get removed.
1123
1123
$signature = $wgParser->cleanSigInSig( $signature );
1124
1124
}
1125
+
1126
+ global $wgUser;
1127
+ if (!$signature) $signature = $wgUser->getName();
1125
1128
1126
1129
return $signature;
1127
1130
}
Follow-up revisions
Revision
Commit summary
Author
Date
r55306
Revert
r54585
"Fix
bug 19261
by saving the username as the signature if it is...
brion
02:33, 19 August 2009
r56102
Relax === check for blank signatures to ==, fixes
bug 19261
(alternative solu...
werdna
17:30, 9 September 2009
Status & tagging log
02:33, 19 August 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r54585
[
removed:
new
added:
reverted]