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:
6da5ced
)
* (bug 1788) Fix link duplication when edit/upload comment includes newlines
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 6 Apr 2005 00:00:03 +0000
(
00:00
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 6 Apr 2005 00:00:03 +0000
(
00:00
+0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
ce1bab5
..
f830819
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-688,6
+688,7
@@
class Linker {
wfProfileIn( $fname );
global $wgContLang;
+ $comment = str_replace( "\n", " ", $comment );
$comment = htmlspecialchars( $comment );
# The pattern for autogen comments is / * foo * /, which makes for